diff options
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 8e5ff0ea..de7837dc 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -398,6 +398,14 @@ in { | |||
398 | ''; | 398 | ''; |
399 | }; | 399 | }; |
400 | 400 | ||
401 | systemd.services.prometheus = { | ||
402 | serviceConfig = { | ||
403 | SystemCallFilter = [ | ||
404 | "@resources" | ||
405 | ]; | ||
406 | }; | ||
407 | }; | ||
408 | |||
401 | services.nginx = { | 409 | services.nginx = { |
402 | upstreams.prometheus = { | 410 | upstreams.prometheus = { |
403 | servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; | 411 | servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; |