You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, AspNetCore uses DependencyInjection for configuration for all components except the DiagnosticTelemetryModule which still depends on TelemetryConfiguration.Active.
This dependency is because of the Heartbeat feature.
The other TelemetryModules (AppServicesHeartbeatTelemetryModule and AzureInstanceMetadataTelemetryModule) don't do any real work and use .Active to apply their settings to the Heartbeat manager in the DiagnosticTelemetryModule.
In order to remove AspNetCore's dependency on .Active, the internal configuration will need to correctly configure these Modules using DI.
IMPORTANT: We've been recommending customers use DI to manually configure Heartbeat and DiagnosticTelemetryModule.
TimothyMothra
changed the title
Refactor AspNetCore use of Heartbeat
Refactor AspNetCore use of Heartbeat (DiagnosticTelemetryModule)
Jul 7, 2020
TimothyMothra
changed the title
Refactor AspNetCore use of Heartbeat (DiagnosticTelemetryModule)
Refactor AspNetCore and WorkerService use of Heartbeat (DiagnosticTelemetryModule)
Jul 7, 2020
Currently, AspNetCore uses DependencyInjection for configuration for all components except the
DiagnosticTelemetryModule
which still depends onTelemetryConfiguration.Active
.This dependency is because of the Heartbeat feature.
The other TelemetryModules (
AppServicesHeartbeatTelemetryModule
andAzureInstanceMetadataTelemetryModule
) don't do any real work and use.Active
to apply their settings to the Heartbeat manager in theDiagnosticTelemetryModule
.In order to remove AspNetCore's dependency on
.Active
, the internal configuration will need to correctly configure these Modules using DI.IMPORTANT: We've been recommending customers use DI to manually configure Heartbeat and
DiagnosticTelemetryModule
.We will continue to support this scenario.
The end goal is to support Heartbeat in all supported app models: Asp.Net, Asp.Net Core, and Worker-Service.
The text was updated successfully, but these errors were encountered: