This commit is contained in:
4DBug
2026-02-05 14:34:20 -06:00
parent af91349983
commit 893bf6fbbc

View File

@@ -104,7 +104,6 @@
} }
]; ];
scrape_configs = [ scrape_configs = [
# For systemd logs
{ {
job_name = "journal"; job_name = "journal";
journal = { journal = {
@@ -122,7 +121,7 @@
} }
]; ];
} }
# For nginx logs
{ {
job_name = "nginx"; job_name = "nginx";
static_configs = [ static_configs = [
@@ -141,7 +140,6 @@
}; };
}; };
# this puts the folder dashboards on the host system at /etc/grafana/dashboards
environment.etc."grafana/dashboards" = { environment.etc."grafana/dashboards" = {
source = ./dashboards; source = ./dashboards;
user = "grafana"; user = "grafana";
@@ -168,7 +166,6 @@
enable = true; enable = true;
dashboards.settings.providers = [ dashboards.settings.providers = [
{ {
# this tells grafana to look at the path for dashboards
options.path = "/etc/grafana/dashboards"; options.path = "/etc/grafana/dashboards";
} }
]; ];