Skip to content

Commit 71938d4

Browse files
committed
disable several .NET features
1 parent dee495e commit 71938d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/datadog_wrapper

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ then
8484
export CORECLR_ENABLE_PROFILING="1"
8585
export CORECLR_PROFILER="{846F5F1C-F9AE-4B07-969E-05C26BC060D8}"
8686
export DD_DOTNET_TRACER_HOME="/opt/datadog"
87+
88+
# Disabled .NET library features
89+
export DD_TRACE_STARTUP_LOGS=0
90+
export DD_INSTRUMENTATION_TELEMETRY_ENABLED="${DD_INSTRUMENTATION_TELEMETRY_ENABLED:-false}" # disable telemetry, unless it was already enabled above
91+
export DD_CIVISIBILITY_ENABLED=0 # disable CI Visibility's auto-detect mechanism
92+
export DD_APPSEC_ENABLED=0 # not supported in Lambda yet
93+
export DD_PROFILING_ENABLED=0 # not supported in Lambda yet
8794
fi # .NET
8895

8996
# if it is java

0 commit comments

Comments
 (0)