From 190ce5adf9e9a5236a9b337124c083cc62bd655e Mon Sep 17 00:00:00 2001 From: kruskall <99559985+kruskall@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:27:30 +0200 Subject: [PATCH] fix: do not ignore rewriteids/rewritetimestamps flags (#149) --- internal/soaktest/runner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/soaktest/runner.go b/internal/soaktest/runner.go index fe935a0..e953c94 100644 --- a/internal/soaktest/runner.go +++ b/internal/soaktest/runner.go @@ -193,14 +193,14 @@ func getHandlerParams(runnerConfig *RunnerConfig, config ScenarioConfig) (loadge IgnoreErrors: runnerConfig.IgnoreErrors, RunForever: runnerConfig.RunForever, Limiter: loadgen.GetNewLimiter(burst, interval), - RewriteIDs: true, + RewriteIDs: config.RewriteIDs, RewriteServiceNames: config.RewriteServiceNames, RewriteServiceNodeNames: config.RewriteServiceNodeNames, RewriteServiceTargetNames: config.RewriteServiceTargetNames, RewriteSpanNames: config.RewriteSpanNames, RewriteTransactionNames: config.RewriteTransactionNames, RewriteTransactionTypes: config.RewriteTransactionTypes, - RewriteTimestamps: true, + RewriteTimestamps: config.RewriteTimestamps, Headers: headers, Protocol: protocol,