Watch
0
0
Fork
You've already forked hyperhive
0

docs: add endpoint name for container_stats (GET /api/container-resources) for parity

This commit is contained in:
lexis 2026-06-06 08:45:15 +02:00 • committed by mara
commit f32684b242

View file

@ -125,9 +125,10 @@ hive-c0re/ host daemon + sibling operator CLI (lib + 2 bins)
dashboard's ST4TS tab; missing / unreadable dbs dashboard's ST4TS tab; missing / unreadable dbs
skipped (one bad db never fails the endpoint). skipped (one bad db never fails the endpoint).
src/container_stats.rs per-container resource metrics (cpu %, current/peak/max src/container_stats.rs per-container resource metrics (cpu %, current/peak/max
memory in bytes) polled live from cgroup-v2; memory in bytes) polled live from cgroup-v2. Backs
aggregated for dashboard display. Skips unhealthy / GET /api/container-resources for the dashboard's
stopped containers gracefully. load chips. Skips unhealthy / stopped containers
gracefully.
src/crash_watch.rs poll every 10s; fire HelperEvent::ContainerCrash src/crash_watch.rs poll every 10s; fire HelperEvent::ContainerCrash
when a previously-running container disappears when a previously-running container disappears
without an operator-initiated transient (or a without an operator-initiated transient (or a