-
Notifications
You must be signed in to change notification settings - Fork 294
NetCore remove TC.Active and fix NetCore Heartbeat #1886
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
Conversation
Get changes from develop
…fields of ApplicationInsightsServiceOptions
AddSingleton DiagnostictelemetryModule to AspNetCore Fix Test, TelemetryModule Count
Lets try to do this in steps |
@cijothomas i don't think that will work because I think these things are too tightly coupled. Please respond if I'm misunderstanding...
|
If there are users somehow tied to use .Active, then we want to have a way to support them. For majority of cases, we can ask to switch to DI model, but there are cases like some logging adapters for which there is no better alternate than TC.Active. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Couple of small issues added in comment.
Also a good description of the change as a Github issue for customers.
#1953, #1954
NetCore had a dependency on TelemetryConfiguration.Active to support DiagnosticTelemetryModule and Heartbeats.
This change removes that dependency and introduces a feature flag to support TelemetryConfiguration.Active.
Changes
Checklist
For significant contributions please make sure you have completed the following items:
The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:
Notes for reviewers:
/AzurePipelines run
will queue all builds/AzurePipelines run <pipeline-name>
will queue a specific build