Sitelet https://github.com/microsoft/ApplicationInsights-dotnet/issues/1953
Skip to content

remove legacy TelemetryConfiguration.Active from AspNetCore SDK #1953

Description

Currently, AspNetCore depends on TelemetryConfiguration.Active and would copy all configured options to this singleton.
Once this dependency is removed we will no longer have a need for this singleton.

(For further reading.. this dependency is due to the Heartbeat feature #1954).

For backwards compatibility, we will introduce a new setting: ApplicationInsightsServiceOptions.EnableActiveTelemetryConfigurationSetup.
This will once again copy the TelemetryConfiguration configured via DI to the TelemetryConfiguration.Active singleton.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions