microsoft / ApplicationInsights-dotnet-logging

.NET Logging adaptors
106 stars 49 forks source link

default app insights instrumentation key to active configuration's in… #261

Closed adstep closed 4 years ago

adstep commented 5 years ago

Default app insights instrumentation key to active configuration's instrumentation key if one is not already set. I was hitting an issue where it was not getting pulled from my project's ApplicationInsights.config, but the active TelemetryConfiguration held the correct instrumentation key.