From d16bd4742a74d3d3b4dafc59c774df8760df342d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 23 Sep 2026 21:00:10 +0200 Subject: [PATCH] nixos/matrix-synapse: fix process metrics ProcSubset=pid is too strict and breaks the ProcessCollector within prometheus-python-client. The metrics are used in the Synapse dashboard. (cherry picked from commit 9e3a8ef12da7342623d28f1d0a3ad0baed198e93) --- nixos/modules/services/matrix/synapse.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/matrix/synapse.nix b/nixos/modules/services/matrix/synapse.nix index e3477ba9ba35..cb0263a18c50 100644 --- a/nixos/modules/services/matrix/synapse.nix +++ b/nixos/modules/services/matrix/synapse.nix @@ -1494,7 +1494,7 @@ in PrivateDevices = true; PrivateTmp = true; PrivateUsers = true; - ProcSubset = "pid"; + ProcSubset = "all"; # pid breaks most process metrics ProtectClock = true; ProtectControlGroups = true; ProtectHome = true;