diff --git a/src/http/httpClient/Middleware/HeadersInspectionHandler.cs b/src/http/httpClient/Middleware/HeadersInspectionHandler.cs index 569feea..1e3d648 100644 --- a/src/http/httpClient/Middleware/HeadersInspectionHandler.cs +++ b/src/http/httpClient/Middleware/HeadersInspectionHandler.cs @@ -40,7 +40,7 @@ protected override async Task SendAsync(HttpRequestMessage if(request.GetRequestOption() is { } obsOptions) { var activitySource = ActivitySourceRegistry.DefaultInstance.GetOrCreateActivitySource(obsOptions.TracerInstrumentationName); - activity = activitySource?.StartActivity($"{nameof(RedirectHandler)}_{nameof(SendAsync)}"); + activity = activitySource?.StartActivity($"{nameof(HeadersInspectionHandler)}_{nameof(SendAsync)}"); activity?.SetTag("com.microsoft.kiota.handler.headersInspection.enable", true); } else