-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Description
Proposing to move the FileDiagnosticModule to base sdk rather than in hosting startup.
https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/Src/HostingStartup/HostingStartup/FileDiagnosticsTelemetryModule.cs
This will make it easy for customers to collect full SDK traces as needed for detailed investigation purposes.
TODO
- Move FileDiagnosticsTelemetryModule to Base sdk (blocked on End support for NETSTANDARD 1.6 #1160)
- Introduce Environment Variable "ApplicationInsights_DiagnosticMode". This allows customers to enable without re-deploying their application.
- Introduce TelemetryConfiguration Boolean Variable "DiagnosticMode". This allows customers who may have multiple apps deployed per machine, or if they do not have access to EnVar.
- TelemetryConfigurationFactory should evaluate both config and environment variables.
- TelemetryConfigurationFactory should emit an ETW trace to confirm that this has been enabled.