[PR #1365] [CLOSED] Dashboard - metrics logs #3408

Closed
opened 2026-11-07 14:41:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1365
Author: @skyprince999
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: dashboard


📝 Commits (4)

  • eb5f631 serve: --metrics-log writes the Monitor's values to a JSONL file
  • 0522ecd serve: /metrics-history, the metrics log as live line charts
  • af544f2 serve: the metrics log and its charts start with the server
  • 1160251 gitignore: Claude Code's local .claude/ folder

📊 Changes

8 files changed (+957 additions, -3 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 docs/DETAILS.md (+32 -0)
📝 serve/runconfig.py (+1 -0)
📝 serve/server.py (+214 -3)
📝 serve/test_monitor.py (+124 -0)
➕ serve/web/history.html (+122 -0)
➕ serve/web/history.js (+462 -0)
📝 serve/web/index.html (+1 -0)

📄 Description

Title

serve: the Monitor's values are saved to logs/metrics.jsonl and shown as live charts at /metrics-history

Issue: Resolves #1364

Summary

The Monitor tab only shows the last minute of values and keeps nothing once the page closes. With this change the
server writes every value the Monitor shows to a JSONL file once a second, whether or not a browser is open. A new
page, /metrics-history, draws that file as live line charts, so you can see how speed, VRAM, PCIe, power and the
other values moved during a task. No prompts or answers are written.

Screenshot 2026-10-05 133545

🔄 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/1365 **Author:** [@skyprince999](https://github.com/skyprince999) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dashboard` --- ### 📝 Commits (4) - [`eb5f631`](https://github.com/Niko1221/Strata/commit/eb5f63119de2fb84d74577170cf2d145947eb64d) serve: --metrics-log writes the Monitor's values to a JSONL file - [`0522ecd`](https://github.com/Niko1221/Strata/commit/0522ecd560b9d5f253747d37e187c966ac85db61) serve: /metrics-history, the metrics log as live line charts - [`af544f2`](https://github.com/Niko1221/Strata/commit/af544f2c3d50c2c9f3adbc19ddcf5b5811fb0e57) serve: the metrics log and its charts start with the server - [`1160251`](https://github.com/Niko1221/Strata/commit/1160251eaea51cf8528993a332acbe8117152fa3) gitignore: Claude Code's local .claude/ folder ### 📊 Changes **8 files changed** (+957 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `docs/DETAILS.md` (+32 -0) 📝 `serve/runconfig.py` (+1 -0) 📝 `serve/server.py` (+214 -3) 📝 `serve/test_monitor.py` (+124 -0) ➕ `serve/web/history.html` (+122 -0) ➕ `serve/web/history.js` (+462 -0) 📝 `serve/web/index.html` (+1 -0) </details> ### 📄 Description ## Title serve: the Monitor's values are saved to logs/metrics.jsonl and shown as live charts at /metrics-history Issue: Resolves #1364 ## Summary The Monitor tab only shows the last minute of values and keeps nothing once the page closes. With this change the server writes every value the Monitor shows to a JSONL file once a second, whether or not a browser is open. A new page, `/metrics-history`, draws that file as live line charts, so you can see how speed, VRAM, PCIe, power and the other values moved during a task. No prompts or answers are written. <img width="1920" height="900" alt="Screenshot 2026-10-05 133545" src="https://github.com/user-attachments/assets/c81b4665-83a0-4d68-9be0-3ab90ff330e1" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:16 +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#3408
No description provided.