[overwatch] grafana provision datasource and dashboards

This commit is contained in:
2025-01-20 22:31:36 +01:00
parent 22b4922ca9
commit d49aff55ae
3 changed files with 23836 additions and 0 deletions

View File

@@ -20,6 +20,38 @@ with lib;
domain = "grafana.malobeo.org";
port = 2342;
addr = "127.0.0.1";
provision.datasources.settings = {
apiVersion = 1;
datasources = [
{
name = "loki";
type = "loki";
access = "proxy";
uid = "eeakiack8nqwwc";
url = "http://localhost:3100";
editable = false;
}
{
name = "prometheus";
type = "prometheus";
access = "proxy";
uid = "feakib1gq7ugwc";
url = "http://localhost:9001";
editable = false;
}
];
};
provision.dashboards.settings = {
apiVersion = 1;
providers = [{
name = "default";
options.path = ./dashboards;
}];
};
};
services.nginx = {

File diff suppressed because it is too large Load Diff