feat(xatu): add nodes section with resource monitoring#421
Open
feat(xatu): add nodes section with resource monitoring#421
Conversation
Add /xatu/nodes overview and /xatu/nodes/$id detail pages showing node hardware specs and resource utilization (CPU, memory, disk I/O, network I/O) with 24h/7d/31d time period views. - Extract shared chart utilities from slot deep dive into @/utils/node-resources - Regenerate API types for new fct_node_* hourly/daily tables - Add sidebar navigation entry under Xatu section
The cbt-api requires a filter on primary key fields. Add a 7-day lookback window to the fct_node_host_spec query.
Charts: height 350→500, lineWidth 2, smooth 0.4, area fill with 0.08 opacity, legend at bottom, custom tooltip formatters, shared buildTimeSeries/formatTimeTooltip helpers. NodeSpecsCard: 4-column grid layout with icon groups (CPU, Memory, Disk, System) instead of flat key-value list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/xatu/nodesoverview page with fleet-wide CPU, memory, disk I/O, and network I/O charts (24h/7d/31d time periods, each node as its own series)/xatu/nodes/$iddetail page with hardware specs card and per-node resource charts@/utils/node-resources.ts(DRY refactor)fct_node_*hourly/daily tables from xatu-cbtDepends on ethpandaops/xatu-cbt#220 for backend tables.