Skip to content

Commit 8e98459

Browse files
zacharycmontoyaandrewlock
andauthoredMar 21, 2025
Clarify doc comment for DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED (#6791)
## Summary of changes Small docs update. ## Reason for change Adds more clarity. ## Implementation details ## Test coverage N/A ## Other details --------- Co-authored-by: Andrew Lock <andrew.lock@datadoghq.com>
1 parent 34a9b7f commit 8e98459

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -805,9 +805,11 @@ internal static class FeatureFlags
805805
/// If disabled, 128-bit trace ids will be truncated to the lower 64 bits,
806806
/// and injected as decimal strings. 64-bit trace ids are
807807
/// always injected as decimal strings, regardless of this setting.
808-
/// Default value is <c>true</c> (enabled).
809-
/// If <see cref="ConfigurationKeys.FeatureFlags.TraceId128BitGenerationEnabled"/> is set to <c>false</c>,
810-
/// this setting will also be set to <c>false</c>.
808+
/// If unset, this configuration will take the value of the <see cref="ConfigurationKeys.FeatureFlags.TraceId128BitGenerationEnabled"/> configuration,
809+
/// which is <c>true</c> by default.
810+
/// Note: This configuration can be set independently of the <see cref="ConfigurationKeys.FeatureFlags.TraceId128BitGenerationEnabled"/> configuration,
811+
/// so it's possible to inject 128-bit trace ids into logs even if the application is only generating 64-bit trace ids, since distributed traces from upstream
812+
/// services may contain 128-bit trace ids.
811813
/// </summary>
812814
public const string TraceId128BitLoggingEnabled = "DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED";
813815

0 commit comments

Comments
 (0)
Failed to load comments.