From 2ff4a27d5b382ce4a64b4263159be6f6c82dbae3 Mon Sep 17 00:00:00 2001 From: Garionion Date: Sun, 24 Jul 2022 16:54:14 +0200 Subject: [PATCH] monitoring: set retention time to 90d --- hosts/monitoring/configuration.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/hosts/monitoring/configuration.nix b/hosts/monitoring/configuration.nix index c9e120a..74b761a 100644 --- a/hosts/monitoring/configuration.nix +++ b/hosts/monitoring/configuration.nix @@ -74,6 +74,7 @@ with lib; }; services.prometheus = { enable = true; + retentionTime = "90d"; listenAddress = "[::1]"; scrapeConfigs = [ { @@ -314,25 +315,16 @@ with lib; enable = true; virtualHosts = { "prometheus.bula22.de" = { - serverAliases = [ - "prometheus" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:9090/"; }; "grafana.bula22.de" = { - serverAliases = [ - "grafana" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:3001/"; }; "influxdb.bula22.de" = { - serverAliases = [ - "influxdb" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:8086/";