ferruzzi commented on issue #36188:
URL: https://github.com/apache/airflow/issues/36188#issuecomment-1863513364

   Sorry for the delay, I've been dealing with laptop issues and may be slow to 
reply.
   
   From the [Airflow Metrics 
docs}(https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/metrics.html),
 `dag_processing.processes` represents:
   
   ```Relative number of currently running DAG parsing processes (ie this delta 
is negative when, since the last metric was sent, processes have completed)```
   
   In OTel, a Counter is an incremental value, like the odometer in your car, 
it can only go up.  A Gauge is like your speedometer, it only shows the current 
value.
   
   Neither of these feel too accurate to the intent of the metric.  The [OTel 
specifications](https://opentelemetry.io/docs/specs/otel/metrics/api/#updowncounter),
 doesn't say an UpDownCounter must be positive.  If that is actually true in 
the python implementation, that may be a bug.


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