Add grafana to library
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m21s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m21s
This commit is contained in:
parent
dfe272a645
commit
827fba7354
@ -42,6 +42,13 @@
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
domain = "library.mesh.vimium.net";
|
||||
port = 3000;
|
||||
addr = "127.0.0.1";
|
||||
};
|
||||
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
@ -58,7 +65,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