summary refs log tree commit diff
path: root/modules/monitoring/synapse.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/monitoring/synapse.nix')
-rw-r--r--modules/monitoring/synapse.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/monitoring/synapse.nix b/modules/monitoring/synapse.nix
index 42eb4e7..b1b30b4 100644
--- a/modules/monitoring/synapse.nix
+++ b/modules/monitoring/synapse.nix
@@ -5,6 +5,8 @@ in
 {
   config = lib.mkIf (cfg.monitorAll && config.services.matrix-synapse.enable) {
     services.matrix-synapse.settings.enable_metrics = true;
+    services.matrix-synapse.settings.metrics_flags.known_servers = true;
+    # services.matrix-synapse.settings.federation_metrics_domains = [ "matrix.org" ]; # - maybe someday
     services.matrix-synapse.settings.listeners = [
       {
         type = "metrics";