mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #48] [MERGED] feat(core/collector): add function and method to collect metrics in background thread #134
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/48
Author: @XuehaiPan
Created: 11/17/2022
Status: ✅ Merged
Merged: 11/18/2022
Merged by: @XuehaiPan
Base:
main← Head:collector-daemon📝 Commits (6)
244f3bafeat(core/collector): add function to collect metrics in background thread41bcf5cfix(core/collector): fix Python 3.5 syntaxb443be4feat(core/collector): adddaemonizemethod shortcut36f5d72docs(core/collector): update docstrings0ca9a7fdocs(core/collector): update README3173eefdocs(core/collector): update docs📊 Changes
4 files changed (+208 additions, -3 deletions)
View changed files
📝
README.md(+37 -0)📝
docs/source/core/collector.rst(+4 -0)📝
nvitop/core/__init__.py(+2 -1)📝
nvitop/core/collector.py(+165 -2)📄 Description
Issue Type
Runtime Environment
3.9.13470.129.06nvitopversion or commit:v0.10.1python-ml-pyversion:11.515.75en_US.UTF-8Description
Add a function to create a background daemon for metrics collectors.
A minimal example:
Motivation and Context
Resolves #47
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.