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
There is no way to set EnableAdaptiveSampling to false when using the WebHostBuilder extensions.
EnableAdaptiveSampling
WebHostBuilder
public static IWebHostBuilder UseApplicationInsights(this IWebHostBuilder webHostBuilder) { webHostBuilder.ConfigureServices(collection => { collection.AddApplicationInsightsTelemetry(); }); return webHostBuilder; }
Should this be possible? Right now I'm having to ditch this extension and do it myself:
webHostBuilder.ConfigureServices(collection => { collection.AddApplicationInsightsTelemetry((options) => { options.InstrumentationKey = appInsightsKey; options.EnableAdaptiveSampling = false; }); });
The text was updated successfully, but these errors were encountered:
Wrong place, sorry - created it here: microsoft/ApplicationInsights-aspnetcore#681
Sorry, something went wrong.
No branches or pull requests
There is no way to set
EnableAdaptiveSampling
to false when using theWebHostBuilder
extensions.Should this be possible? Right now I'm having to ditch this extension and do it myself:
The text was updated successfully, but these errors were encountered: