We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of having a configuration like:
services.AddOpenTelemetry(builder => { builder .SetSampler(Samplers.AlwaysSample) .UseJaeger(opts => { Configuration.GetSection("Telemetry").GetSection("Jaeger").Bind(opts); }) .AddRequestCollector() .AddDependencyCollector(); });
It should look like:
services.AddOpenTelemetry(builder => { builder .SetSampler(Samplers.AlwaysSample) .UseJaeger() .AddRequestCollector() .AddDependencyCollector(); }); services.Configure<JaegerExporterOptions>(Configuration.GetSection("Telemetry").GetSection("Jaeger"));
Details: Options pattern in ASP.NET Core
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion @MovGP0. We'll look into if it's somewhere we want to adopt or if there are any factors that may stop it.
Sorry, something went wrong.
Linked with #101
No branches or pull requests
Instead of having a configuration like:
It should look like:
Details: Options pattern in ASP.NET Core
The text was updated successfully, but these errors were encountered: