grafana/prometheus provisioning
This commit is contained in:
parent
665e79a984
commit
a5b1b4637f
@ -111,6 +111,18 @@
|
||||
|
||||
grafana = {
|
||||
enable = true;
|
||||
provision = {
|
||||
enable = true;
|
||||
datasources.settings = {
|
||||
apiVersion = 1;
|
||||
datasources = [{
|
||||
name = "Prometheus";
|
||||
type = "prometheus";
|
||||
access = "proxy";
|
||||
url = "http://127.0.0.1:${toString config.services.prometheus.port}";
|
||||
}];
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
server = {
|
||||
# TODO tailscale service?
|
||||
|
Loading…
Reference in New Issue
Block a user