monitoring: set retention time to 90d
This commit is contained in:
parent
b5e87117aa
commit
2ff4a27d5b
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user