python icon indicating copy to clipboard operation
python copied to clipboard

metrics: add option `metrics.addr` for ipv6 support

Open Ma27 opened this issue 2 years ago • 1 comments

prometheus_client supports IPv6 addresses for a while now[1]. This isn't used here however because the default 0.0.0.0 is used. Added an option metrics.addr that makes this configurable.

Tested with mautrix-telegram.

[1] https://github.com/prometheus/client_python/commit/39d2360322262947adae1908d0972fba12ff8ed1

Ma27 avatar Feb 08 '24 17:02 Ma27

cc @tulir :)

Ma27 avatar Feb 10 '24 12:02 Ma27