[PR #1671] [CLOSED] monitor: show prefill rate in recent requests #3598

Closed
opened 2026-11-07 15:29:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1671
Author: @hash13
Created: 10/9/2026
Status: ❌ Closed

Base: main ← Head: monitor-prefill-rate


📝 Commits (4)

  • 66461e7 monitor: show prefill rate in recent requests
  • d0c98b2 monitor: show prefill rate in recent requests
  • 5f7491a Merge remote-tracking branch 'origin/monitor-prefill-rate' into monitor-prefill-rate
  • 5ebafd5 monitor: tidy recent requests table CSS formatting

📊 Changes

3 files changed (+13 additions, -4 deletions)

View changed files

📝 serve/web/app.css (+6 -0)
📝 serve/web/app.js (+5 -2)
📝 serve/web/index.html (+2 -2)

📄 Description

Summary

Add prefill throughput to the Monitor → Recent requests table, making it easier to compare prompt processing and decode performance for completed requests.

What changed

  • serve/web/index.html
    • Added a Prefill t/s column.
    • Renamed Tok/s to Decode t/s for clarity.
    • Added a tooltip explaining the prefill metric.
  • serve/web/app.js
    • Calculate prefill throughput using newly processed prompt tokens and engine-reported prompt time.
    • Exclude reused cache tokens from the calculation.
    • Round the displayed rate to whole tokens per second, consistent with the existing monitor tile.
    • Display – when valid timing data is unavailable.
  • serve/web/app.css
    • Prevent line wrapping in the recent requests table, including column headers and status badges.
    • Reduce horizontal cell padding to 8px to accommodate the additional column.
    • Preserve horizontal scrolling as a fallback on narrower screens.

Extra Notes

  • Frontend-only change; no backend or engine modifications.
  • Uses metrics already available in completed request history.

Screenshot

grafik

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1671 **Author:** [@hash13](https://github.com/hash13) **Created:** 10/9/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `monitor-prefill-rate` --- ### 📝 Commits (4) - [`66461e7`](https://github.com/Niko1221/Strata/commit/66461e71cc7860871990a2b07263a5aec0809bc6) monitor: show prefill rate in recent requests - [`d0c98b2`](https://github.com/Niko1221/Strata/commit/d0c98b2d84fb6bae6d3787aa6b0792ccbc4ae0a2) monitor: show prefill rate in recent requests - [`5f7491a`](https://github.com/Niko1221/Strata/commit/5f7491aedc26c8c8efd06cba79e6f3555668bce3) Merge remote-tracking branch 'origin/monitor-prefill-rate' into monitor-prefill-rate - [`5ebafd5`](https://github.com/Niko1221/Strata/commit/5ebafd5945da951476c852d55baf207742e9f264) monitor: tidy recent requests table CSS formatting ### 📊 Changes **3 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `serve/web/app.css` (+6 -0) 📝 `serve/web/app.js` (+5 -2) 📝 `serve/web/index.html` (+2 -2) </details> ### 📄 Description ## Summary Add prefill throughput to the **Monitor → Recent requests** table, making it easier to compare prompt processing and decode performance for completed requests. ## What changed - `serve/web/index.html` - Added a **Prefill t/s** column. - Renamed **Tok/s** to **Decode t/s** for clarity. - Added a tooltip explaining the prefill metric. - `serve/web/app.js` - Calculate prefill throughput using newly processed prompt tokens and engine-reported prompt time. - Exclude reused cache tokens from the calculation. - Round the displayed rate to whole tokens per second, consistent with the existing monitor tile. - Display `–` when valid timing data is unavailable. - `serve/web/app.css` - Prevent line wrapping in the recent requests table, including column headers and status badges. - Reduce horizontal cell padding to 8px to accommodate the additional column. - Preserve horizontal scrolling as a fallback on narrower screens. ## Extra Notes - Frontend-only change; no backend or engine modifications. - Uses metrics already available in completed request history. **Screenshot** <img width="1211" height="1004" alt="grafik" src="https://github.com/user-attachments/assets/c862cb0b-fd06-485f-937a-f0832bfd0b97" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:29:26 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3598
No description provided.