microsoft / ApplicationInsights-dotnet-server

Microsoft Application Insights for .NET Web Applications
https://azure.microsoft.com/services/application-insights/
133 stars 67 forks source link

Parse correlation context in absence of reuqest-id or traceparent #1255

Closed lmolkova closed 5 years ago

lmolkova commented 5 years ago

Fix Issue #1215 .

cijothomas commented 5 years ago

To double confirm, web sdk just populates correlation-context and populates Activity baggage from them. Decorating application insights telemetry with these is done by OperationCorrelationInitializer from base sdk. https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/src/Microsoft.ApplicationInsights/Extensibility/OperationCorrelationTelemetryInitializer.cs#L68