Adding custom properties to default request telemetry
问题 How can I add custom properties to the default request telemetry in application insights? I was able to do that by creating new telemetry client but I would like NOT to do that as it creates duplicate events. 回答1: Make your own custom TelemetryInitializer. https://azure.microsoft.com/en-us/documentation/articles/app-insights-api-custom-events-metrics/#telemetry-initializers. snipped from the above article: using System; using Microsoft.ApplicationInsights.Channel; using Microsoft