You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2488ee4
Browse filesBrowse the repository at this point in the historyBrowse files
console: add resource usage charts to the redesigned cluster page
Third in the cluster details redesign stack. The Metrics tab gets a
resource usage card: CPU, memory and replica status share one time axis
and one hover tooltip, with a toggle per replica.
- CPU: a line per replica, as a share of the replica's CPU allocation.
Readings past 100% extend the axis, with a dashed line marking the
allocation.
- Memory: a bar per replica as a share of the heap limit (RAM plus swap),
on a fixed 0 to 100% axis so swap-heavy sizes don't stretch it. On 26.44
and later the bar splits into RAM and swap, and the legend gives the RAM
and heap limits in bytes. Earlier environments show heap alone. Where no
sample has a heap limit, the labels say the bars are a share of the
memory allocation.
- Replica status: a row per replica, including one offline the whole
window. Running, finished hydration and offline stretches, a marker for
each out-of-memory kill, and a badge with the count of objects still
hydrating. A window with no usage still shows the status rows.
- Dotted markers where an index or materialized view was created on the
cluster.
Wide windows merge neighboring buckets, keeping each metric's peak, so
bars stay at least 10px wide. The time axis matches the classic graphs.
The mark layers are memoized, so hovering only redraws the cursor and
tooltip.
0 commit comments