grafana/module.nix: change urls of provisions to localhost
This commit is contained in:
parent
936d8f9090
commit
a5b9929e27
1 changed files with 2 additions and 2 deletions
|
@ -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}";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue