diff --git a/src/Elastic.OpenTelemetry/Processors/ElasticCompatibilityProcessor.cs b/src/Elastic.OpenTelemetry/Processors/ElasticCompatibilityProcessor.cs index d48e53c..fd7f7b6 100644 --- a/src/Elastic.OpenTelemetry/Processors/ElasticCompatibilityProcessor.cs +++ b/src/Elastic.OpenTelemetry/Processors/ElasticCompatibilityProcessor.cs @@ -88,7 +88,7 @@ public override void OnEnd(Activity activity) var target = urlPath; if (urlQuery is not null) - target += $"?{urlQuery}"; + target += urlQuery; SetStringAttribute(HttpTarget, target); }