Watch
0
0
Fork
You've already forked hyperhive
0

docs: swarm services publish Grafana's /metrics to the collector

The gateway no longer has a loopback-only vhost, so the TLS section
drops the paragraph that named `grafana-metrics` as its one instance.
This commit is contained in:
atlas 2026-10-14 19:17:48 +02:00 • committed by mara
commit 8abea789fd
2 changed files with 5 additions and 2 deletions

View file

@ -52,8 +52,6 @@ The gateway always terminates TLS. Which certificate it serves depends on what y
`tls.certDir` together with `tls.acme.enable` fails an assertion — pick one.
⚠️ One vhost class has no TLS: a vhost bound to loopback for a local consumer. `grafana-metrics` (`nix/host-modules/swarm-grafana.nix`) is the one in the tree: it listens on `127.0.0.1` only and serves `= /metrics` from grafana's unix socket for this host's collector. The published `grafana.<swarm>` vhost answers `/metrics` with 403. Everything with a routable name follows the table above.
### ACME / Let's Encrypt (`tls.acme`)
The simplest production path for a public domain: