[PR #107] [MERGED] feat(exporter): remove metrics if process is gone #161

Closed
opened 2026-05-05 03:27:01 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/107
Author: @XuehaiPan
Created: 11/22/2023
Status: Merged
Merged: 11/23/2023
Merged by: @XuehaiPan

Base: mainHead: exporter-remove-gone-process


📝 Commits (3)

  • c9a7447 feat(exporter): remove metrics if process is gone
  • 0e8881d chore(pre-commit): update pre-commit hooks
  • 1b7c98d docs(CHANGELOG): update CHANGELOG.md

📊 Changes

6 files changed (+42 additions, -9 deletions)

View changed files

📝 .pre-commit-config.yaml (+1 -1)
📝 CHANGELOG.md (+1 -1)
📝 nvitop-exporter/nvitop_exporter/exporter.py (+35 -2)
📝 nvitop/api/device.py (+2 -2)
📝 nvitop/cli.py (+2 -2)
📝 nvitop/select.py (+1 -1)

📄 Description

Issue Type

  • Improvement/feature implementation

Description

Remove gauge entries for gone processes.

Motivation and Context

Resolves #106


🔄 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/107 **Author:** [@XuehaiPan](https://github.com/XuehaiPan) **Created:** 11/22/2023 **Status:** ✅ Merged **Merged:** 11/23/2023 **Merged by:** [@XuehaiPan](https://github.com/XuehaiPan) **Base:** `main` ← **Head:** `exporter-remove-gone-process` --- ### 📝 Commits (3) - [`c9a7447`](https://github.com/XuehaiPan/nvitop/commit/c9a7447e4789fb1457452d570936910ec0bb91ac) feat(exporter): remove metrics if process is gone - [`0e8881d`](https://github.com/XuehaiPan/nvitop/commit/0e8881d33c5e2532f4f56e992c4df6aace6e4afe) chore(pre-commit): update pre-commit hooks - [`1b7c98d`](https://github.com/XuehaiPan/nvitop/commit/1b7c98dadc37a73008049facd685bdbe86a6ef0e) docs(CHANGELOG): update CHANGELOG.md ### 📊 Changes **6 files changed** (+42 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `.pre-commit-config.yaml` (+1 -1) 📝 `CHANGELOG.md` (+1 -1) 📝 `nvitop-exporter/nvitop_exporter/exporter.py` (+35 -2) 📝 `nvitop/api/device.py` (+2 -2) 📝 `nvitop/cli.py` (+2 -2) 📝 `nvitop/select.py` (+1 -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 #### Description <!-- Describe the changes in detail --> Remove gauge entries for gone processes. #### Motivation and Context <!-- Why are these changes required? --> <!-- What problems do these changes solve? --> <!-- Link to relevant issues --> Resolves #106 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:27:01 -06: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: github-starred/nvitop#161
No description provided.