diff options
Diffstat (limited to 'modules/prometheus.nix')
| -rw-r--r-- | modules/prometheus.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/prometheus.nix b/modules/prometheus.nix index 26cdb10..22db413 100644 --- a/modules/prometheus.nix +++ b/modules/prometheus.nix @@ -111,13 +111,14 @@ in ]; } { - job_name = "mikrotik"; - static_configs = let - port = toString config.services.prometheus.exporters.fail2ban.port; - in - [ - { targets = ["localhost:${port}"]; } - ]; + job_name = "mikrotik"; + static_configs = + let + port = toString config.services.prometheus.exporters.fail2ban.port; + in + [ + { targets = [ "localhost:${port}" ]; } + ]; } ]; |
