atlas
7d09776742
swarm UI: an alerts page, read by the controller with a Viewer Grafana token from bao
...
swarm-bao-grafana-controller-token, on the host that runs Grafana, logs in
to Grafana's API over its socket as the built-in admin (the password
swarm-bao-grafana-admin minted, #5138 ) and keeps a `swarm-controller`
service account that is an enabled Viewer. It mints a token for that
account and writes it to bao at
swarm/controller/swarm-controller/grafana/token under Grafana's leaf. A
ten-minute timer runs it again. The unit keeps a stored token Grafana
accepts. If Grafana refuses the stored token with 401, or bao holds
none, the unit deletes every token of the account and mints a new one.
Grafana's grant gains create/read/update on that leaf, and the
controller's gains read.
swarm-controller serves GET /api/alerts from Grafana's
/api/prometheus/grafana/api/v1/alerts. It reads the token from bao,
keeps it in memory, and re-reads bao once on a 401. The HTTP client has
5s connect and 15s request timeouts. Any failure is a 503 that names its
cause. swarm-ui gets an /alerts page listing them, built the same way as
the hives page.
This is option (c) on #5129 , the operator's choice.
2026-10-15 15:16:21 +02:00
..
agent-forge-bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-github-bao.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-icon.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-matrix.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-memory.nix
subagent, bash: run each subagent run and bash task in its own cgroup
2026-10-13 12:25:27 +02:00
agent-otel.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-plugins.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
agent-queue-bao.nix
module-eval: restore agentWith in agent-queue-bao.nix
2026-10-13 14:56:25 +02:00
agent-runtime.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-user.nix
module-eval: agent-user test asserts the heal_own_dir form
2026-10-09 11:30:30 +02:00
bao-basics.nix
swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare
2026-10-13 17:00:56 +02:00
bao-controller.nix
swarm UI: an alerts page, read by the controller with a Viewer Grafana token from bao
2026-10-15 15:16:21 +02:00
bao-grants.nix
swarm UI: an alerts page, read by the controller with a Viewer Grafana token from bao
2026-10-15 15:16:21 +02:00
bao-matrix-reader.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
bao-otel-collector.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
builder.nix
swarm-bao-pki: enabling a service mints its client leaf on the same switch
2026-10-15 08:31:33 +02:00
core-toggle.nix
swarm UI: log an agent into claude from its card; the credentials go to bao and the agent picks them up
2026-10-15 13:26:29 +02:00
forge-placement.nix
swarm-otel: scrape nats through its published name
2026-10-15 08:03:46 +02:00
grafana.nix
swarm UI: an alerts page, read by the controller with a Viewer Grafana token from bao
2026-10-15 15:16:21 +02:00
hive-otel.nix
hive otel: keep file_storage defined when the collector authenticates upstream
2026-10-14 10:13:58 +02:00
hive-tls.nix
hive-tls: bound each store attempt so a silent store fails into a retry
2026-10-15 11:21:47 +02:00
journald-severity.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
lib.nix
authelia: a user outside a rule's group is denied instead of falling through to one_factor
2026-10-14 23:41:13 +02:00
matrix-core.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
name-guards.nix
swarm: refuse swarm.hives keys that are not valid hive identifiers
2026-10-12 21:45:50 +02:00
nats-authelia.nix
swarm-bao-pki: enabling a service mints its client leaf on the same switch
2026-10-15 08:31:33 +02:00
nats-tls.nix
swarm-bao, swarm-nats: bound each attempt of the hand-copied store-retry units
2026-10-15 12:43:01 +02:00
secret-publisher.nix
glue: the secret publisher's authelia-dependent settings move out of the publisher module
2026-10-14 01:52:53 +02:00
shared.nix
module-eval: three duplicate nixosSystem fixtures come from shared.nix
2026-10-15 08:29:58 +02:00
snapshot-store.nix
swarm snapshot store: the receiver socket binds the mesh address even when wg-hive comes up after sockets.target
2026-10-15 08:27:54 +02:00
swarm-otel-core.nix
module-eval: evaluate shared fixture configs once
2026-10-13 08:14:50 +02:00
swarm-otel-identity.nix
swarm metrics store: the read API needs Grafana's bearer or an operator session
2026-10-15 10:48:20 +02:00
swarm-services-switch.nix
module-eval: count both the builder and the minter containers after the rebase
2026-10-15 13:26:29 +02:00