Add grafana to library
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m15s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m15s
This commit is contained in:
parent
dfe272a645
commit
08bf00bc93
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user