From 738381a04f4c75346e74afa4b14f330d69cd0f6d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 8 Feb 2024 18:13:34 +0100 Subject: [PATCH] metrics: implement ipv6 support Counterpart to https://github.com/mautrix/python/pull/168 --- mautrix_telegram/config.py | 1 + mautrix_telegram/example-config.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/mautrix_telegram/config.py b/mautrix_telegram/config.py index ca38c520..d67800b6 100644 --- a/mautrix_telegram/config.py +++ b/mautrix_telegram/config.py @@ -93,6 +93,7 @@ def do_update(self, helper: ConfigUpdateHelper) -> None: copy("metrics.enabled") copy("metrics.listen_port") + copy("metrics.addr") copy("bridge.username_template") copy("bridge.alias_template") diff --git a/mautrix_telegram/example-config.yaml b/mautrix_telegram/example-config.yaml index 27749d03..b642d0e8 100644 --- a/mautrix_telegram/example-config.yaml +++ b/mautrix_telegram/example-config.yaml @@ -97,6 +97,7 @@ appservice: metrics: enabled: false listen_port: 8000 + addr: '::' # Manhole config. manhole: