services: prometheus: keep metrics for 2 years
This commit is contained in:
parent
95733f9e05
commit
64d479e2ce
|
@ -49,6 +49,8 @@ in {
|
||||||
port = 9090;
|
port = 9090;
|
||||||
listenAddress = "127.0.0.1";
|
listenAddress = "127.0.0.1";
|
||||||
|
|
||||||
|
retentionTime = "2y";
|
||||||
|
|
||||||
exporters = {
|
exporters = {
|
||||||
node = {
|
node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue