diff --git a/projects/adapter/src/dbt/adapters/fal_experimental/telemetry/telemetry.py b/projects/adapter/src/dbt/adapters/fal_experimental/telemetry/telemetry.py index aefd7a160..de5a25462 100644 --- a/projects/adapter/src/dbt/adapters/fal_experimental/telemetry/telemetry.py +++ b/projects/adapter/src/dbt/adapters/fal_experimental/telemetry/telemetry.py @@ -182,6 +182,10 @@ def check_stats_enabled() -> bool: 2. If DO_NOT_TRACK is defined, check its value 3. Otherwise use the value in stats_enabled in the config.yaml file """ + + # Disable telemetry entirely for now + return False + if "FAL_STATS_ENABLED" in os.environ: val = os.environ["FAL_STATS_ENABLED"].lower().strip() return val != "0" and val != "false" and val != "" diff --git a/projects/adapter/src/fal/dbt/telemetry/telemetry.py b/projects/adapter/src/fal/dbt/telemetry/telemetry.py index 76c6c358e..b8ccd6eb5 100644 --- a/projects/adapter/src/fal/dbt/telemetry/telemetry.py +++ b/projects/adapter/src/fal/dbt/telemetry/telemetry.py @@ -189,6 +189,10 @@ def check_stats_enabled() -> bool: 2. If DO_NOT_TRACK is defined, check its value 3. Otherwise use the value in stats_enabled in the config.yaml file """ + + # Disable telemetry entirely for now + return False + if "FAL_STATS_ENABLED" in os.environ: val = os.environ["FAL_STATS_ENABLED"].lower().strip() return val != "0" and val != "false" and val != "" diff --git a/projects/adapter/tests/test_telemetry.py b/projects/adapter/tests/_test_telemetry.py similarity index 100% rename from projects/adapter/tests/test_telemetry.py rename to projects/adapter/tests/_test_telemetry.py