sortega commented on code in PR #70517:
URL: https://github.com/apache/airflow/pull/70517#discussion_r3764969165


##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -1209,11 +1210,24 @@ metrics:
       default: "False"
     statsd_port:
       description: |
-        Specifies the port on which the StatsD daemon (or server) is listening 
to
+        Specifies the port on which the StatsD daemon (or server) is listening 
to.
+        Ignored when ``statsd_socket_path`` is set.
       version_added: 2.0.0
       type: integer
       example: ~
       default: "8125"
+    statsd_socket_path:
+      description: |
+        Path to a Unix Domain Socket used to submit metrics, instead of 
``statsd_host``
+        and ``statsd_port``. Applies to both the StatsD and DataDog backends. 
Takes
+        precedence over ``statsd_host`` / ``statsd_port`` when set. For the 
DataDog
+        backend (``statsd_datadog_enabled = True``)
+        a plain path or a ``unix://`` / ``unixgram://`` / ``unixstream://`` 
URL is
+        accepted; for the StatsD backend a plain filesystem path is expected.
+      version_added: 3.4.0
+      type: string
+      example: "unix:///var/run/datadog/dsd.socket"

Review Comment:
   👍 



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