kaxil commented on code in PR #39510:
URL: https://github.com/apache/airflow/pull/39510#discussion_r1603680488
##########
airflow/settings.py:
##########
@@ -576,6 +576,13 @@ def initialize():
atexit.register(dispose_orm)
+def is_telemetry_collection_enabled() -> bool:
+ """Check if scarf analytics is enabled."""
+ return conf.getboolean("telemetry_collection", "enabled", fallback=True)
and (
+ os.getenv("SCARF_ANALYTICS") != "false"
Review Comment:
Good point
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]