Bloccs.Web.Panels.Metrics (bloccs_web v0.1.0)

Copy Markdown View Source

Panel 3 — live per-node metrics. Renders one row per node from the latest collector frame (throughput, p50/p95 latency, completed, error rate) with a state pill. The frame arrives on a 1 Hz PubSub tick handled by Bloccs.Web.DashboardLive; idle nodes show "—" until traffic flows.

Summary

Functions

render(assigns)

Attributes

  • network (:any) (required)
  • base_path (:string) (required)
  • frame (:map) - Defaults to %{nodes: %{}, updated_at: nil}.