We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e8feaa commit 39f48d5Copy full SHA for 39f48d5
datadog_lambda/config.py
@@ -141,6 +141,11 @@ def _reset(self):
141
"enabled" if config.fips_mode_enabled else "not enabled",
142
)
143
144
+# Remote configuration relies on /dev/shm which is unavailable in Lambda.
145
+# Disable it before ddtrace loads to avoid the shared-memory warning.
146
+if "DD_REMOTE_CONFIGURATION_ENABLED" not in os.environ:
147
+ os.environ["DD_REMOTE_CONFIGURATION_ENABLED"] = "false"
148
+
149
# disable css to prevent double counting in lambda
150
os.environ["DD_TRACE_STATS_COMPUTATION_ENABLED"] = "false"
151
0 commit comments