Tracer Version(s)
arn:aws:lambda:us-east-1:464622532012:layer:dd-trace-dotnet:20
Operating system and platform
aws lambda
Instrumentation Mode
manual with cdk/cloud formation
TFM
net8.0
Bug Report
For DD_TRACE_ENABLED : the documentation says:
"Enables or disables all instrumentation."
We have:
-
the dotnet tracing layer installed
-
the env variables configured to DISABLE the extension/layer
-
evidence in Datadog UI that the extension is still sending tracing.
The obvious concern here is cost.
See the layers installed:

With the env variable DD_TRACE_ENABLED set to false:

DatadogUI still shows traces being sent:

Reproduction Code
No response