-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use IServiceProvider in AddOpenTelemetryTracing #2018
Comments
Maybe this can be solved with #2011 |
I see that this overload was dropped in #1889 in favor of
Personally, I find the previous overload of |
@dgarciarubio I added some documentation in the README on #2080 please check it out and let me know what you think. I agree with you in this case it was nicer before but if we start with the |
README updates are now live: https:/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Extensions.Hosting/README.md I'm going to close this but feel free to re-open. |
Question
I am using the 1.0.0-rc4 of OpenTelemetry.Extensions.Hosting. I'm trying to add redis instrumentation, but for that I need an instance of
IConnectionMultiplexer
. In some examples, I have seen that it can be resolved from the service provider by using the following overload ofAddOpenTelemetryTracing
:However, this overload has disappeared in rc-4, while it was present in rc-3.
The text was updated successfully, but these errors were encountered: