Add grafana to library
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m15s

This commit is contained in:
Jordan Holt 2024-06-02 18:09:58 +01:00
parent dfe272a645
commit 08bf00bc93
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -42,6 +42,17 @@
enable = true;
};
services.grafana = {
enable = true;
settings = {
server = {
domain = "library.mesh.vimium.net";
http_addr = "0.0.0.0";
http_port = 3000;
};
};
};
services.prometheus = {
enable = true;
port = 9001;
@ -58,7 +69,7 @@
};
scrapeConfigs = [
{
job_name = "library";
job_name = "node";
static_configs = [{
targets = [
"127.0.0.1:${toString config.services.prometheus.exporters.node.port}"