Skip to content
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

HealthChecks.Publisher.ApplicationInsights: TelemetryConfiguration.Active is deprecated #348

Closed
chrisketelaar opened this issue Nov 26, 2019 · 1 comment · Fixed by #365
Assignees
Labels
enhancement New feature or request

Comments

@chrisketelaar
Copy link

This issue is not to be confused with #186

According to Microsoft to use of TelemetryConfiguration.Active in HealthChecks.Publisher.ApplicationInsights, is deprecated for AspNetCore. Their advise is to use IOptions<TelemetryConfiguration> and get the InstrumentationKey from there.

Link to code:

Link to deprecating issue Microsoft:
microsoft/ApplicationInsights-dotnet#1152

I can make a PR for this, but wanted to discuss it first.

@unaizorrilla
Copy link
Collaborator

Hi @chrisketelaar

PR is welcome, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants