Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/module-eval
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 4dbcf6fa80 hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner
The dashboard's top-of-page warning banner is gone. The warning registry
stays, because /health/ready, the swarm status view and the OTEL gauges
read it. What it feeds is now alerted on in Grafana:

- hyperhive.hive.warning{kind,level}: one series per raised warning, so an
  alert names the cause. Raising a warning also logs one `hive warning
  raised` line with the message.
- hyperhive.hive.nix_store.utilization: the used fraction of the nix
  store's filesystem, probed in the gauge callback.
- Alerts: hh-hive-degraded on the existing degraded gauge, hh-hive-warning
  per kind (disk excluded), hh-host-disk-high at 85% and
  hh-host-disk-critical at 95%.
- pending_logins is now a registry warning, refreshed from the container
  rescan, so it reaches the per-kind gauge.

Frontend: server_warnings leaves the state snapshot, and the dashboard,
flow and stats pages keep only the sticky chrome wrapper. The shared
hive-warn and WarnBanner components stay, since other views use them.

A module-eval case checks each alert's metric name against the exporter's
source, so a rename on either side fails the build.
2026-10-21 17:52:53 +02:00
..
agent-forge-bao.nix agents fetch the hive CA from bao at boot instead of the meta flake embedding it 2026-10-19 20:15:13 +02:00
agent-github-bao.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +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 every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
agent-plugins.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
agent-queue-bao.nix add swarm-metrics, an agent CLI for the metrics store 2026-10-17 10:10:17 +02:00
agent-runtime.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
agent-user.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
bao-basics.nix hive-tls owns the per-host list of locally fronted service domains 2026-10-17 23:26:53 +02:00
bao-controller.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
bao-grants.nix swarm-bao granter stops retrying a rejected bootstrap token 2026-10-21 09:22:19 +02:00
bao-matrix-reader.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
bao-otel-collector.nix every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
builder.nix the meta flake takes docs from the pinned hyperhive input 2026-10-18 20:09:14 +02:00
ci-metrics.nix trust the swarm services ca in swarm-ci-metrics 2026-10-17 23:28:03 +02:00
core-toggle.nix agents fetch the hive CA from bao at boot instead of the meta flake embedding it 2026-10-19 20:15:13 +02:00
forge-placement.nix drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
grafana.nix hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
hive-otel.nix every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
hive-tls.nix agents fetch the hive CA from bao at boot instead of the meta flake embedding it 2026-10-19 20:15:13 +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 every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
matrix-core.nix move the hive's vhosts and matrix discovery out of the gateway 2026-10-17 15:07:33 +02:00
name-guards.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
nats-authelia.nix set an agent's initial agents.md at create 2026-10-18 15:54:14 +02:00
nats-tls.nix swarm-nats gateway cert reloads nginx without blocking the switch 2026-10-20 21:20:24 +02:00
secret-publisher.nix swarm-authelia: run the secret publisher and a journal forwarder inside the container 2026-10-17 00:28:16 +02:00
shared.nix every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
snapshot-store.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
swarm-otel-core.nix swarm-otel: the upstream export is a swarm-otel deploy option 2026-10-21 10:25:26 +02:00
swarm-otel-identity.nix authelia: allow only the collector to write to the log store's ingest path 2026-10-17 14:51:35 +02:00
swarm-services-switch.nix every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00