Skip to content

Commit d273ab2

Browse files
committed
Add missing key for DD_TRACE_ACTIVITY_LISTENER
1 parent 60dec7d commit d273ab2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ namespace Datadog.Trace.Configuration
1414
/// </summary>
1515
internal static partial class ConfigurationKeys
1616
{
17+
/// <summary>
18+
/// Configuration key to enable or disable the ActivityListener.
19+
/// </summary>
20+
public const string ActivityListenerEnabled = "DD_TRACE_ACTIVITY_LISTENER_ENABLED";
21+
1722
/// <summary>
1823
/// Configuration key to enable experimental features.
1924
/// </summary>
@@ -961,7 +966,7 @@ internal static class DataStreamsMonitoring
961966
/// Configuration key for enabling legacy binary headers in Data Streams Monitoring.
962967
/// false by default if DSM is in default state, true otherwise
963968
/// </summary>
964-
/// <see cref="TracerSettings.IsDataStreamsLegacyHeadersEnabled"/>
969+
/// <see cref="TracerSettings.IsDataStreamsLegacyHeadersEnabled"/>
965970
public const string LegacyHeadersEnabled = "DD_DATA_STREAMS_LEGACY_HEADERS";
966971
}
967972
}

tracer/src/Datadog.Trace/Configuration/supported-configurations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159
"DD_THIRD_PARTY_DETECTION_INCLUDES": { "version": ["A"] },
160160
"DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": { "version": ["A"] },
161161
"DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED": { "version": ["A"] },
162+
"DD_TRACE_ACTIVITY_LISTENER_ENABLED": { "version": ["A"] },
162163
"DD_TRACE_AGENT_ARGS": { "version": ["A"] },
163164
"DD_TRACE_AGENT_PATH": { "version": ["A"] },
164165
"DD_TRACE_AGENT_PORT": { "version": ["A"] },
@@ -261,7 +262,6 @@
261262
"DD_TAGS": ["DD_TRACE_GLOBAL_TAGS"],
262263
"DD_TRACE_AGENT_PORT": ["DATADOG_TRACE_AGENT_PORT"],
263264
"DD_TRACE_CONFIG_FILE": ["DD_DOTNET_TRACER_CONFIG_FILE"],
264-
"DD_TRACE_OTEL_ENABLED": ["DD_TRACE_ACTIVITY_LISTENER_ENABLED"],
265265
"DD_TRACE_PROPAGATION_STYLE_EXTRACT": ["DD_PROPAGATION_STYLE_EXTRACT"],
266266
"DD_TRACE_PROPAGATION_STYLE_INJECT": ["DD_PROPAGATION_STYLE_INJECT"],
267267
"DD_TRACE_LOG_DIRECTORY": ["DD_TRACE_LOG_PATH"],

0 commit comments

Comments
 (0)