xBis7 commented on code in PR #74046: URL: https://github.com/apache/airflow/pull/74046#discussion_r4336685262
########## airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst: ########## @@ -184,6 +185,37 @@ How the attributes surface depends on the backend. Those implementing the OpenTe `Prometheus compatibility <https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/>`_ spec expose them as the ``job`` and ``instance`` labels. +.. _short-lived-processes: + +Short-lived processes +^^^^^^^^^^^^^^^^^^^^^ + +A task runs in a process that exits when the attempt ends, so a running total exported by that +process never grows if the values are cumulative. Task SDK processes therefore export counters +and histograms as **delta** values and share ``service.instance.id=task-sdk``, so that every Review Comment: I renamed it to `task-worker` but I also removed all the references from the docs because the name isn't fixed and the user can provide his own value. I also changed the tone to suggest that we advice using a shared value if this is set. -- 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]
