Skip to content

Commit

Permalink
Fix condition to enable SSI telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
iamluc committed Oct 21, 2024
1 parent b6c85b1 commit a490f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-injection/sources/sitecustomize.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def parse_version(version: str) -> Tuple:

FORCE_INJECT = os.environ.get("DD_INJECT_FORCE", "").lower() in ("true", "1", "t")
FORWARDER_EXECUTABLE = os.environ.get("DD_TELEMETRY_FORWARDER_PATH", "")
TELEMETRY_ENABLED = "true" in os.environ.get("DD_INJECTION_ENABLED", "").lower()
TELEMETRY_ENABLED = "DD_INJECTION_ENABLED" in os.environ
DEBUG_MODE = os.environ.get("DD_TRACE_DEBUG", "").lower() in ("true", "1", "t")
INSTALLED_PACKAGES = None
PYTHON_VERSION = None
Expand Down

0 comments on commit a490f5a

Please sign in to comment.