Skip to content

Commit aa8289e

Browse files
committed
set DD_TRACE_COMPUTE_STATS to false by default
1 parent 91d2486 commit aa8289e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

datadog_lambda/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ def _reset(self):
141141
"enabled" if config.fips_mode_enabled else "not enabled",
142142
)
143143

144+
if ("DD_TRACE_COMPUTE_STATS" not in os.environ):
145+
os.environ["DD_TRACE_COMPUTE_STATS"] = "false"
144146

145147
if (
146148
"DD_INSTRUMENTATION_TELEMETRY_ENABLED" not in os.environ

0 commit comments

Comments
 (0)