grafana/module.nix: change urls of provisions to localhost

This commit is contained in:
Bloxx12 2025-04-09 15:31:18 +02:00
commit a5b9929e27

View file

@ -54,7 +54,7 @@ in {
name = "Prometheus";
type = "prometheus";
access = "proxy";
url = "http://127.0.0.1:${toString config.services.prometheus.port}";
url = "localhost:${toString config.services.prometheus.port}";
isDefault = true;
})
@ -62,7 +62,7 @@ in {
name = "PostgreSQL";
type = "postgres";
access = "proxy";
url = "http://127.0.0.1:${toString config.services.prometheus.exporters.postgres.port}";
url = "localhost:${toString config.services.prometheus.exporters.postgres.port}";
})
];
};