From e484541615d76826b2da3240bce5e842d58fbb41 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 5 Oct 2021 12:06:16 +0200 Subject: [PATCH] mautrix-telegram: add `prometheus-client` for metrics With this change I can do metrics: enabled: true listen_port: 8080 and retrieve metrics from `localhost:8080` for the telegram bridge. (cherry picked from commit 9f9e32238b200716a622bd743e6859495aa83db1) --- pkgs/servers/mautrix-telegram/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix index bb2549f939f..b2dd5f4a97c 100644 --- a/pkgs/servers/mautrix-telegram/default.nix +++ b/pkgs/servers/mautrix-telegram/default.nix @@ -60,6 +60,7 @@ in with python.pkgs; buildPythonPackage rec { pillow lxml setuptools + prometheus-client ] ++ lib.optionals withE2BE [ asyncpg python-olm