[metrics] Gets Loki and Prometheus set up with Grafana

This commit is contained in:
Periodic committed 2025-03-22 11:31:35 -07:00
1 parent 8833323b82
commit 55557f4fed
4 files changed
+48 -5

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ let
hostRule = host: domain: "Host(`${host}.${domain}`)";
hostRuleHavenisms = host: hostRule host havenisms;
localNet = "192.168.0.0/16";
localNetRule = "ClientIP(`${localNet}`)";
dockerNet = "10.88.0.0/16";
localNetRule = "(ClientIP(`${localNet}`) || ClientIP(`${dockerNet}`))";
localHostRule = host: domain: "${localNetRule} && ${hostRule host domain}";
localHostRuleHavenisms = host: localHostRule host havenisms;
in