Skip to content

Commit 692503c

Browse files
committed
Revert "fix: disable Client Side Stats by default (#756)"
This reverts commit 52bcf21.
1 parent c441931 commit 692503c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

datadog_lambda/config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,6 @@ def _reset(self):
146146
if "DD_REMOTE_CONFIGURATION_ENABLED" not in os.environ:
147147
os.environ["DD_REMOTE_CONFIGURATION_ENABLED"] = "false"
148148

149-
# disable css to prevent double counting in lambda
150-
os.environ["DD_TRACE_STATS_COMPUTATION_ENABLED"] = "false"
151-
152-
# unset css aliases to ensure it is disabled
153-
if "DD_TRACE_COMPUTE_STATS" in os.environ:
154-
del os.environ["DD_TRACE_COMPUTE_STATS"]
155-
156149
if (
157150
"DD_INSTRUMENTATION_TELEMETRY_ENABLED" not in os.environ
158151
and not config.sca_enabled

0 commit comments

Comments
 (0)