xBis7 commented on code in PR #63932:
URL: https://github.com/apache/airflow/pull/63932#discussion_r3154935821
##########
providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py:
##########
@@ -86,7 +86,10 @@ def _executor_initializer():
try:
from airflow.observability.metrics import stats_utils
- Stats.initialize(factory=stats_utils.get_stats_factory(Stats))
+ Stats.initialize(
+ factory=stats_utils.get_stats_factory(),
+ export_legacy_names=conf.getboolean("metrics", "legacy_names_on"),
Review Comment:
If the config doesn't exist and there is a fallback, then the fallback will
be used without an error.
--
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]