diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryRecorderFactory.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryRecorderFactory.cs index 2ebbe16d67..1b16f48307 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryRecorderFactory.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryRecorderFactory.cs @@ -69,6 +69,7 @@ public static OpenTelemetryCoreRecorder CreateRecorder(string operationName, // Safety check as diagnostic logs should not break the code. if (Activity.Current?.TraceId != null) { + // This id would be useful to trace calls at backend services when distributed tracing feature is available there. trace.AddDatum("DistributedTraceId", Activity.Current.TraceId); } }