Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/dashboard/src
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-menu dashboard: the SW4RM tab is the agents tab 2026-10-15 09:50:49 +02:00
agents.js drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
builds.js dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
common.js hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
dashboard.css hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
flow.css dashboard: remove the L0GS page and its journal backend 2026-10-12 01:26:33 +02:00
flow.html dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
flow.js hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
index.html dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
kept.js dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
links-menu.js dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
state.js agent permissions: one set, tool groups included, set at agent creation 2026-10-15 18:01:40 +02:00
stats.css dashboard: the hive UI no longer shows container load 2026-10-15 08:28:10 +02:00
stats.html dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
stats.js hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
stream-worker.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
system-sections.css dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu 2026-10-16 20:02:28 +02:00
tabs.js hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js hive: remove the read-only schedules page and the old schedule store 2026-10-13 01:45:12 +02:00