diff --git a/services/prometheus.nix b/services/prometheus.nix index dc87004..d7598d5 100644 --- a/services/prometheus.nix +++ b/services/prometheus.nix @@ -19,7 +19,7 @@ scrape_interval = "15s"; static_configs = [ { - target = lib.pipe config.services.matrix-synapse.settings.listeners [ + targets = lib.pipe config.services.matrix-synapse.settings.listeners [ (lib.filter (l: l.type == "metrics")) builtins.head (l: "[${l.bind_addresses}]:${l.port}")