A btop-like monitor in the console, from Prometheus; node exporters discovered and installed
Monitor draws CPU, memory, GPUs, requests, tokens, latency, network and disk as Braille charts over 5m/1h/24h/7d, then per node, card and model sparklines; node and model pages have their own. History is read from monitoring.prometheus through POST /api/v1/metrics/range, or without it from what the console saw. The control plane serves the cluster's machines for Prometheus http_sd at /prometheus/targets on its metrics port, and node add installs prometheus-node-exporter. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2e55487eca
commit
a1b1663e9d
16 files changed
+1217
-4
No files matched your search
@@ -276,7 +276,7 @@ func (m consoleModel) actionDialog() (title, body string) {
|
||||
|
||||
func details(m *consoleModel) tea.Cmd {
|
||||
m.detail, m.scroll = true, 0
|
||||
return nil
|
||||
return m.fetchDetail()
|
||||
}
|
||||
|
||||
// --- models ---
|
||||
|
||||
Reference in new issue
Block a user