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";
|
name = "Prometheus";
|
||||||
type = "prometheus";
|
type = "prometheus";
|
||||||
access = "proxy";
|
access = "proxy";
|
||||||
url = "http://127.0.0.1:${toString config.services.prometheus.port}";
|
url = "localhost:${toString config.services.prometheus.port}";
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ in {
|
||||||
name = "PostgreSQL";
|
name = "PostgreSQL";
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
access = "proxy";
|
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