[ASP.NET Core] .NET7+ ActivitySource selection logic #1741
Labels
comp:instrumentation.aspnetcore
Things related to OpenTelemetry.Instrumentation.AspNetCore
question
Further information is requested
Today if we detect .NET 7 or greater we resolve the
ActivitySource
to listen to using theIServiceProvider
. This is to mirror what ASP.NET Core does under the hood. See: AddAspNetCoreInstrumentationSources.@noahfalk Left a comment suggesting that we just listen to the default source by name.
Opening this issue to track the discussion further.
The text was updated successfully, but these errors were encountered: