Aaryan123456679 commented on code in PR #69270:
URL: https://github.com/apache/airflow/pull/69270#discussion_r3645227021
##########
airflow-core/src/airflow/executors/base_executor.py:
##########
@@ -215,6 +215,7 @@ def __init__(self, parallelism: int = PARALLELISM,
team_name: str | None = None)
factory=stats_utils.get_stats_factory(),
export_legacy_names=conf.getboolean("metrics", "legacy_names_on"),
)
+ stats_utils.initialize_sdk_stats_backend()
Review Comment:
Wrapped each of the 5 call sites (API server, executor, Dag processor,
scheduler, triggerer) in try/except, logging a warning on failure instead of
letting a metrics misconfiguration fail the component's construction/startup.
--
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]