1
0
Fork 0

monitoring: set retention time to 90d

This commit is contained in:
Garionion 2022-07-24 16:54:14 +02:00
parent b5e87117aa
commit 2ff4a27d5b
1 changed files with 1 additions and 9 deletions

View File

@ -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/";