mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-06 17:18:39 +00:00
Add Grafana dashboard (#15)
This commit is contained in:
@@ -34,6 +34,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."grafana-dashboards/node.json" = {
|
||||
source = ./node.json;
|
||||
group = "grafana";
|
||||
user = "grafana";
|
||||
mode = "0440";
|
||||
};
|
||||
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -69,6 +76,17 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
dashboards = {
|
||||
settings = {
|
||||
apiVersion = 1;
|
||||
providers = [
|
||||
{
|
||||
name = "default";
|
||||
options.path = "/etc/grafana-dashboards";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user