services: prometheus: keep metrics for 2 years

This commit is contained in:
Antoine Martin 2021-07-12 22:12:03 +02:00
parent 95733f9e05
commit 64d479e2ce

View file

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