xBis7 commented on code in PR #74046:
URL: https://github.com/apache/airflow/pull/74046#discussion_r4339810743
##########
airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst:
##########
@@ -329,6 +361,12 @@ On earlier versions, use the ``Stats`` class instead:
These metrics are silently dropped unless a backend is enabled (see `Setup
- StatsD`_
or `Setup - OpenTelemetry`_).
+.. note::
+
+ With OpenTelemetry, a metric emitted from inside a task leaves the task's
process as a delta
+ value under ``service.instance.id=task-sdk``. A backend that only accepts
cumulative values,
+ such as Prometheus, needs the Collector to convert it back, see
`Short-lived processes`_.
Review Comment:
I've changed the tone and updated it.
--
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]