initial commit for monitoring and formatting
Some checks failed
/ Check formatting (push) Failing after 1s
Some checks failed
/ Check formatting (push) Failing after 1s
This commit is contained in:
parent
786c6c5ae1
commit
66fe419c0f
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