shan-zeeshan786 commented on issue #50334:
URL: https://github.com/apache/airflow/issues/50334#issuecomment-2984502910

   We are also observing an inconsistency in how OpenTelemetry metrics are 
being emitted in our Airflow setup. Specifically, metrics that include tagging 
(such as dag_id) are only being emitted for a single DAG, despite having 
multiple DAGs running.
   
   For example, consider the following two metrics:
   1. **dagrun.dependency-check.<dag_id>**
   2. **dagrun.dependency-check** (with dag_id as a label)
   
   We are receiving the metric:
   **otelairflow_dagrun_dependency_check**{dag_id="hello_world_dag", 
job="Airflow", otel_scope_name="airflow.metrics.otel_logger", 
run_type="scheduled"} 0.0127
   
   However, this tagged metric is only being emitted for hello_world_dag. We 
are not seeing the same metric emitted for our other DAGs.
   
   On the other hand, the per-DAG metric (dagrun.dependency-check.<dag_id>) is 
being correctly emitted for all DAGs.
   
   


-- 
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]

Reply via email to