HttpClientInstrumentationOptions
doesn't support IDeferredTracerProviderBuilder
#3050
Labels
bug
Something isn't working
Bug Report
The
AddAspNetCoreInstrumentation
extension shows what it looks like to supportIDeferredTracerProviderBuilder
so it can take advantage of the DI container and registeredOptions<AspNetCoreInstrumentationOptions>
.The corresponding
AddHttpClientInstrumentation
extension does not currently supportIDeferredTracerProviderBuilder
so there's no way to useOptions<T>
to configure things like enrichers.(Unclear if this is a bug or an enhancement request so I just picked bug. I'm going to throw a PR in to fix this in a minute anyway.)
The text was updated successfully, but these errors were encountered: