You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2024/02/20 12:26:06 UTC

(airflow) 10/27: Fix the otel config descriptions (#37229)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit bbe4c3d21e0e463a1a38cd12bd210d793912430f
Author: Vincent Kling <vi...@msn.com>
AuthorDate: Wed Feb 7 21:36:42 2024 +0100

    Fix the otel config descriptions (#37229)
    
    Co-authored-by: Vincent Kling <v....@vinniict.nl>
    (cherry picked from commit 70e55e58748115b6c1e9fd64a614cdd09af691e1)
---
 airflow/config_templates/config.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml
index cae508e773..9aaeaeee3d 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1069,22 +1069,23 @@ metrics:
       example: ~
       default: "False"
     otel_host:
-      description: ~
+      description: |
+        Specifies the hostname or IP address of the OpenTelemetry Collector to which Airflow sends
+        metrics and traces.
       version_added: 2.6.0
       type: string
       example: ~
       default: "localhost"
     otel_port:
       description: |
-        Specifies the hostname or IP address of the OpenTelemetry Collector to which Airflow sends
-        metrics and traces
+        Specifies the port of the OpenTelemetry Collector that is listening to.
       version_added: 2.6.0
       type: string
       example: ~
       default: "8889"
     otel_prefix:
       description: |
-        Specifies the port of the OpenTelemetry Collector that is listening to
+        The prefix for the Airflow metrics.
       version_added: 2.6.0
       type: string
       example: ~
@@ -1092,14 +1093,14 @@ metrics:
     otel_interval_milliseconds:
       description: |
         Defines the interval, in milliseconds, at which Airflow sends batches of metrics and traces
-        to the configured OpenTelemetry Collector
+        to the configured OpenTelemetry Collector.
       version_added: 2.6.0
       type: integer
       example: ~
       default: "60000"
     otel_debugging_on:
       description: |
-        If True, all metrics are also emitted to the console.  Defaults to False.
+        If True, all metrics are also emitted to the console. Defaults to False.
       version_added: 2.7.0
       type: string
       example: ~