grafana: show token totals and the key status on the first screen

Add totals over the selected time range: prompt tokens in, prompt tokens
read from cache (attention cache and linear checkpoint), prompt tokens
computed, generated tokens out and finished requests. They use counters
that /metrics already has.

Move Refused / failed to the first row. The status row is now second.
The ratio panels move below the throughput section. No panel is removed
and no panel id changes.
This commit is contained in:
keptn42 committed 2026-11-03 10:30:41 +01:00
1 parent 769b4c64a6
commit 8bbf402d9e
2 files changed
+379 -48

No files matched your search

+3 -1
View File
@@ -3827,7 +3827,9 @@ Two pitfalls:
- Step time is not wall-clock over steps. Use `engine_step_seconds_decode_total /
engine_steps_decode_total`, which charges only decode; wall-clock also charges idle and prefill.
`deploy/grafana/radiance.json` charts both families over time, on Prometheus or VictoriaMetrics.
`deploy/grafana/radiance.json` charts both families over time, on Prometheus or VictoriaMetrics. Its first screen shows
totals over the selected time range (prompt tokens in, prompt tokens read from cache, prompt tokens
computed, tokens out, requests) and the live status; the detail panels are below.
### 6.4 The live terminal view