This is an automated email from the ASF dual-hosted git repository.
ferruzzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 21f9ddbd595 Clarify the OpenTelemetry configuration instructions
(#58722)
21f9ddbd595 is described below
commit 21f9ddbd5958df99200321c172c565efd5e6dc55
Author: Dev-iL <[email protected]>
AuthorDate: Thu Nov 27 19:54:12 2025 +0200
Clarify the OpenTelemetry configuration instructions (#58722)
Explicitly mention that Collector (and not, say, Prometheus) settings are
expected .
---
.../docs/administration-and-deployment/logging-monitoring/metrics.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst
b/airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst
index 4cad20a2c7e..0a38c1b0992 100644
---
a/airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst
+++
b/airflow-core/docs/administration-and-deployment/logging-monitoring/metrics.rst
@@ -63,7 +63,8 @@ To use OpenTelemetry you must first install the required
packages:
pip install 'apache-airflow[otel]'
-Add the following lines to your configuration file e.g. ``airflow.cfg``
+An OpenTelemetry `Collector
<https://opentelemetry.io/docs/concepts/components/#collector>`_ (or compatible
service) is required for connectivity to a metrics backend.
+Add the Collector details to your configuration file e.g. ``airflow.cfg``
.. code-block:: ini
@@ -73,6 +74,7 @@ Add the following lines to your configuration file e.g.
``airflow.cfg``
otel_port = 8889
otel_prefix = airflow
otel_interval_milliseconds = 30000 # The interval between exports,
defaults to 60000
+ otel_service = Airflow
otel_ssl_active = False
.. note::