We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b14247 commit 7d8c403Copy full SHA for 7d8c403
src/OpenTelemetry/Trace/TracerProviderSdk.cs
@@ -97,6 +97,14 @@ internal TracerProviderSdk(
97
return;
98
}
99
100
+ // Spec says IsRecording must be false once span ends.
101
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#isrecording
102
+ // However, Activity has slightly different semantic
103
+ // than Span and we don't have strong reason to do this
104
+ // now, as Activity anyway allows read/write always.
105
+ // Intentionally commenting the following line.
106
+ // activity.IsAllDataRequested = false;
107
+
108
if (SuppressInstrumentationScope.DecrementIfTriggered() == 0)
109
{
110
this.processor?.OnEnd(activity);
0 commit comments