Skip to content

Support a Unix Domain Socket for the metrics clients #70666

Description

@sortega

Description

Airflow submits metrics through a network connection defined by host and port. However, the existing backends also support using an UDS socket but there is no way to configure that at the moment.

A new [metrics] statsd_socket_path will be very useful to unlock this.

Use case/motivation

The motivation is to unlock the advantages of UDS sockets for this:

  • Lower overhead
  • Better security posture: local-only exposure, filesystem permissions
  • No dropped packages

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions