[overwatch] grafana provision datasource and dashboards
This commit is contained in:
@@ -20,6 +20,38 @@ with lib;
|
|||||||
domain = "grafana.malobeo.org";
|
domain = "grafana.malobeo.org";
|
||||||
port = 2342;
|
port = 2342;
|
||||||
addr = "127.0.0.1";
|
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 = {
|
services.nginx = {
|
||||||
|
|||||||
23804
machines/overwatch/dashboards/node_full.json
Normal file
23804
machines/overwatch/dashboards/node_full.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user