Service shown as Requests executed in background threads (Microsoft.AspNetCore.Hosting.HttpRequestIn)

If instead of usual service detection over a .NET process, you are getting Requests executed in background threads (Microsoft.AspNetCore.Hosting.HttpRequestIn)

Try out below options to rectify it .

1)  Create a span exclusion rule as expalined below:

2) Disabling the feature (OpenTelemetry (.NET) [Opt-In])

Thanks

12 Likes

Thanks for sharing this!

Thanks for sharing this.  We recently enabled the OpenTelemetry and discovered that it broke a number of our dashboards.  Support couldn’t help but your info above got us back up and working by disabling this feature.

5 Likes

Starting with OneAgent 339, the Microsoft.AspNetCore.Hosting.HttpRequestIn span is ignored by default:

.NET code module ignores OpenTelemetry spans for technologies supported by the module

The OneAgent .NET code module now automatically ignores OpenTelemetry spans for technologies supported by the OneAgent .NET code module.

1 Like