Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/TODOs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ The system-wide `scheduler_offcpu` is a histogram; the per-cgroup `cgroup_schedu
Surface boot-time and runtime configuration that affects performance posture: CPU isolation (`isolcpus`, `nohz_full`, cgroup `cpuset`), block device tuning (IO scheduler, completion affinity, NVMe queue mode), and IRQ affinity.

**Why it matters.** A host can be misconfigured against its intended QoS posture in ways that are silent until traffic hits a corner case. Pulling configuration into the metrics stream lets dashboards flag drift (e.g., "completion just landed on a CPU listed in `isolcpus`") and lets fleets compare intent against reality at scale.

## Embed-friendly charts with swappable data backend

Wrap chart/section rendering as web components (e.g. `<rezolus-chart>`, `<rezolus-section>`) that take a `Plot`/`View` descriptor (already produced by `crates/dashboard/`) plus a pluggable data adapter. Two adapters: a WASM adapter that resolves `promql_query` locally against an in-browser TSDB (small, portable, GitHub Pages friendly), and a Datastar/SSE adapter that subscribes to a server-resolved stream (large, live data). Same descriptor and same component API on both sides.

**Why it matters.** It makes Rezolus charts droppable into other dashboards or docs pages without iframing, and gives a clean split between the static file-mode viewer and a future streaming server viewer without forking the frontend.
1 change: 1 addition & 0 deletions site/viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<script src="lib/charts/echarts.min.js"></script>
<script type="module" src="lib/script.js"></script>
<link rel="stylesheet" href="lib/style.css" />
<link rel="stylesheet" href="lib/charts.css" />
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions site/viewer/lib/charts.css
1 change: 1 addition & 0 deletions site/viewer/lib/embed
1 change: 1 addition & 0 deletions site/viewer/lib/lit
1 change: 1 addition & 0 deletions src/viewer/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

<!-- Styles -->
<link rel="stylesheet" href="lib/style.css" />
<link rel="stylesheet" href="lib/charts.css" />
</head>

<body>
Expand Down
Loading
Loading