Export rocm-smi metrics as prometheus metrics
Project description
rocm-smi-exporter
Export rocm-smi metrics as prometheus metrics
Docker
docker build . -t powerml/rocm-smi-exporter
# Login with powerml repo in 1password and push to it
docker login
docker push powerml/rocm-smi-exporter
# -v /opt:/opt is needed to make rocm runtime library available to container
docker run -d --rm --name=smi-exporter -p 9001:9001 \
--device=/dev/kfd --device=/dev/dri --group-add video \
-v /opt:/opt powerml/rocm-smi-exporter
# You should see the ROCM_* prefixed metrics
curl localhost:9001/metrics
Pants build
Pants
uses explicit BUILD
files to track source files' dependencies and builds.
Pants is hermetic, means that the entire build environment is specified in pants.toml, which is copied from example-python.
Extra
- Add args to systemd service
- The python code accepts
--port
and other arguments - If needed, set its value when launching systemd service
- The python code accepts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lamini_rocm_smi_exporter-0.0.1a5.tar.gz
.
File metadata
- Download URL: lamini_rocm_smi_exporter-0.0.1a5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ce064f4194c50036b1be04d18faddd3ce718ea9b2fca3e11aad2a55050faec |
|
MD5 | 2e5190f442bf42f0bd57ba2c7b382d8d |
|
BLAKE2b-256 | bfdeb9e57fc55e8abd528618b31c5267e6bba214ba706b5fe5768efbaa9f118b |
File details
Details for the file lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl
.
File metadata
- Download URL: lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d2dba012200ac7fd3f93febd51d1a057b0c2336a5c789a319620d3dd361d04 |
|
MD5 | eba405f2382a2705451f80e84ea6e414 |
|
BLAKE2b-256 | 650b56d653463c66d623ae3a836430feeac9ca7d52a6964906785b6f4154f700 |