dannyl1u commented on issue #42881:
URL: https://github.com/apache/airflow/issues/42881#issuecomment-2405924758

   Hi @ashb, could you clarify what you mean by the use in the scheduler job? 
   
   The first step is refactoring the metrics code so that 
https://github.com/apache/airflow/blob/main/airflow/metrics/base_stats_logger.py
 will have a `get_name` method that 
https://github.com/apache/airflow/blob/main/airflow/metrics/datadog_logger.py, 
https://github.com/apache/airflow/blob/main/airflow/metrics/otel_logger.py, 
https://github.com/apache/airflow/blob/main/airflow/metrics/statsd_logger.py, 
etc. will inherit the method for their own specific naming conventions. This 
will improve the code by not needing specific name validators for each 
implementation 
https://github.com/apache/airflow/blob/main/airflow/metrics/otel_logger.py#L128.
   
   cc'ing @ferruzzi in case I'm missing something
   
   Then, once the above is done, we will plan the next step to build an 
automated system to generate docs based on the actual metrics.
   
   cc @arshiazr


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to