monitoring #1
2 changed files with 32 additions and 0 deletions
32
services/monitoring/grafana.mod.nix
Normal file
32
services/monitoring/grafana.mod.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
glucose.modules = [
|
||||
{(
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
dataDir = "/var/services/grafana";
|
||||
# declarativePlugins = null;
|
||||
|
||||
settings = {
|
||||
# analytics = {};
|
||||
# database = {};
|
||||
# paths = {};
|
||||
# security = {};
|
||||
server = {
|
||||
root_url = "https://grf.collective-conciousness.monster";
|
||||
enable_gzip = true;
|
||||
http_addr = "127.0.0.1";
|
||||
http_port = 6700;
|
||||
};
|
||||
# smtp = {};
|
||||
# users = {};
|
||||
};
|
||||
|
||||
/*provision = {
|
||||
alerting = {};
|
||||
dashboards = {};
|
||||
datasources = {};
|
||||
};*/
|
||||
};
|
||||
)}
|
||||
];
|
||||
}
|
0
services/monitoring/prometheus.mod.nix
Normal file
0
services/monitoring/prometheus.mod.nix
Normal file
Loading…
Reference in a new issue