[PR #218] [MERGED] feat(examples/monitor-web): add minimal HTTP(S) GPU dashboard #220

Closed
opened 2026-10-02 23:15:06 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/218
Author: @XuehaiPan
Created: 5/20/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @XuehaiPan

Base: main ← Head: feat/examples-monitor-web


📝 Commits (10+)

  • 7b53aaf feat(examples/monitor-web): add minimal stdlib HTTP(S) GPU dashboard
  • 5c66a9a fix(examples/monitor-web): emit strict JSON by mapping NaN/Inf to null
  • 0c75444 fix(examples/monitor-web): drop progress bar for temperature
  • 91dc7a1 feat(examples/monitor-web): add memory bandwidth utilization bar
  • 981ed58 style(examples/monitor-web): rename Mem BW to GMBW and Memory to GMEM
  • 2e0aa96 feat(examples/monitor-web): refine dashboard metrics
  • f382679 feat(examples/monitor-web): add host history chart
  • f090f92 fix(examples/monitor-web): correct host memory legend units
  • 997b6b4 feat(examples/monitor-web): add gpu history charts
  • 38c58cd style(examples/monitor-web): lengthen gpu card bars

📊 Changes

13 files changed (+2577 additions, -12 deletions)

View changed files

📝 .editorconfig (+3 -0)
📝 .pre-commit-config.yaml (+1 -1)
📝 CHANGELOG.md (+1 -1)
📝 README.md (+8 -0)
📝 docs/source/spelling_wordlist.txt (+16 -0)
📝 examples/README.md (+1 -0)
➕ examples/monitor-web/README.md (+144 -0)
➕ examples/monitor-web/monitor_web.html (+1474 -0)
➕ examples/monitor-web/monitor_web.py (+913 -0)
📝 nvitop-exporter/nvitop_exporter/cli.py (+5 -3)
📝 nvitop-exporter/nvitop_exporter/utils.py (+7 -6)
📝 nvitop/api/collector.py (+2 -0)
📝 nvitop/cli.py (+2 -1)

📄 Description

Issue Type

  • Improvement/feature implementation

Motivation and Context

Resolves #167

Images / Videos

nvitop web dashboard


🔄 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/XuehaiPan/nvitop/pull/218 **Author:** [@XuehaiPan](https://github.com/XuehaiPan) **Created:** 5/20/2026 **Status:** ✅ Merged **Merged:** 5/25/2026 **Merged by:** [@XuehaiPan](https://github.com/XuehaiPan) **Base:** `main` ← **Head:** `feat/examples-monitor-web` --- ### 📝 Commits (10+) - [`7b53aaf`](https://github.com/XuehaiPan/nvitop/commit/7b53aafdd4e1f936baa003fd44d06e45714d4b49) feat(examples/monitor-web): add minimal stdlib HTTP(S) GPU dashboard - [`5c66a9a`](https://github.com/XuehaiPan/nvitop/commit/5c66a9ae282eccdb2b5b319e60a13ea260fa189f) fix(examples/monitor-web): emit strict JSON by mapping NaN/Inf to null - [`0c75444`](https://github.com/XuehaiPan/nvitop/commit/0c75444506427dee63da5f3510a5c24640521ee2) fix(examples/monitor-web): drop progress bar for temperature - [`91dc7a1`](https://github.com/XuehaiPan/nvitop/commit/91dc7a154a562fab4f41ad36ab498ebc40f9fc08) feat(examples/monitor-web): add memory bandwidth utilization bar - [`981ed58`](https://github.com/XuehaiPan/nvitop/commit/981ed588fe938f9da1e3b78a581effc1a90bc722) style(examples/monitor-web): rename `Mem BW` to `GMBW` and `Memory` to `GMEM` - [`2e0aa96`](https://github.com/XuehaiPan/nvitop/commit/2e0aa96c261cbb8957078457069baa2937dc023b) feat(examples/monitor-web): refine dashboard metrics - [`f382679`](https://github.com/XuehaiPan/nvitop/commit/f382679dd5e799722e7c8777622be5361f8851aa) feat(examples/monitor-web): add host history chart - [`f090f92`](https://github.com/XuehaiPan/nvitop/commit/f090f9212e8c69e976cb983aa3ffb8e36ea0d8d1) fix(examples/monitor-web): correct host memory legend units - [`997b6b4`](https://github.com/XuehaiPan/nvitop/commit/997b6b449388498cfa70e20538a5bf208eed06a8) feat(examples/monitor-web): add gpu history charts - [`38c58cd`](https://github.com/XuehaiPan/nvitop/commit/38c58cd4c87d0b3ae30b53d3bf3e6684c5ec19c2) style(examples/monitor-web): lengthen gpu card bars ### 📊 Changes **13 files changed** (+2577 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `.editorconfig` (+3 -0) 📝 `.pre-commit-config.yaml` (+1 -1) 📝 `CHANGELOG.md` (+1 -1) 📝 `README.md` (+8 -0) 📝 `docs/source/spelling_wordlist.txt` (+16 -0) 📝 `examples/README.md` (+1 -0) ➕ `examples/monitor-web/README.md` (+144 -0) ➕ `examples/monitor-web/monitor_web.html` (+1474 -0) ➕ `examples/monitor-web/monitor_web.py` (+913 -0) 📝 `nvitop-exporter/nvitop_exporter/cli.py` (+5 -3) 📝 `nvitop-exporter/nvitop_exporter/utils.py` (+7 -6) 📝 `nvitop/api/collector.py` (+2 -0) 📝 `nvitop/cli.py` (+2 -1) </details> ### 📄 Description <!-- Provide a descriptive summary of the changes in the title above --> #### Issue Type <!-- Pick relevant types and delete the rest --> - Improvement/feature implementation #### Motivation and Context <!-- Why are these changes required? --> <!-- What problems do these changes solve? --> <!-- Link to relevant issues --> Resolves #167 #### Images / Videos <!-- Only if relevant --> <!-- Link or embed images and videos of screenshots, sketches etc. --> ![nvitop web dashboard](https://github.com/user-attachments/assets/b07abc8a-d0f0-4d0f-a7a2-09514cd28832) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
github-starred/nvitop#220
No description provided.