nvitop/nvitop-exporter
Xuehai Pan 08f2131acd
Some checks failed
Build / build (release) Has been cancelled
Build / publish (release) Has been cancelled
ver: bump version to v1.4.0
2024-12-29 21:50:03 +08:00
..
nvitop_exporter ver: bump version to v1.4.0 2024-12-29 21:50:03 +08:00
dashboard.json feat(exporter): add dashboard example (#138) 2024-12-29 21:41:16 +08:00
LICENSE chore: update license header 2024-02-16 09:58:19 +00:00
MANIFEST.in feat(exporter): add Prometheus exporter (#92) 2023-08-27 01:37:04 +08:00
pyproject.toml ver: bump version to v1.4.0 2024-12-29 21:50:03 +08:00
README.md feat(exporter): add dashboard example (#138) 2024-12-29 21:41:16 +08:00
requirements.txt feat(exporter): add Prometheus exporter (#92) 2023-08-27 01:37:04 +08:00
setup.py chore(pre-commit): update pre-commit hooks 2024-07-31 15:36:15 +08:00

nvitop-exporter

Prometheus exporter built on top of nvitop.

Quickstart

Start the exporter with the following command:

pipx run nvitop-exporter --bind-address 0.0.0.0 --port 5050
# or
uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050

Then you can access the metrics at http://localhost:5050/metrics.

You will need to configure Prometheus to scrape the metrics from the exporter.

scrape_configs:
  - job_name: 'nvitop-exporter'
    static_configs:
      - targets: ['localhost:5050']

Grafana Dashboard

A Grafana dashboard is provided to visualize the metrics collected by the exporter. The source of the dashboard is dashboard.json. The Grafana dashboard can also be imported as by ID 22589.

Filter
The Grafana dashboard for the exporter.