The AMD SMI Exporter is a standalone app that can be run as a daemon written in GO Language that exports AMD CPU & GPU metrics to the Prometheus server. The AMD SMI Prometheus Exporter employs AMDSMI Library for its data acquisition.
The GO binding provides an interface between the amdsmi C, C++ library, and the GO exporter code.
NEW! AMD_SMI_EXPORTER 2.0 is Now Available
The AMD SMI Exporter follows the AMDSMI library in its releases and is dependent on the underlying libraries for its data.
Before executing the GO exporter, ensure that the amdsmi and its dependency libraries amd_hsmp, amdgpu are met.
Highlights of Release v2.0
- Supports unified AMDSMI for the new system features
- Integrated go_amd_smi code to amdsmi repo
Highlights of Release v1.1
Support to compile RoCm library APIs
- Get amd_num_gpus
- Get amd_gpu_dev_id
- Get GPU Power Cap using amd_gpu_power_cap
- Get GPU Power using amd_gpu_power
- Get GPU Temperature using amd_gpu_current_temperature
- Get GPU SCLK using amd_gpu_SCLK
- Get GPU MCLK using amd_gpu_MCLK
- Get GPU usage using amd_gpu_use_percent
- Get GPU use percent using amd_gpu_memory_use_percent
Add more console output for readability
Highlights of release v1.0
Below metrics data is supported at the Core level:
- Energy
- Energy Consumed using amd_core_energy
- Performance
- Boostlimit using amd_boost_limit
- Energy
- Energy Consumed using amd_socket_energy
- Power
- Power Consumed using amd_socket_power
- Power Limit using amd_power_limit
- Prochot using amd_prochot_status
- Number of sockets present using amd_num_sockets
- Number of Threads present using amd_num_threads
- Threads per core using amd_num_threads_per_core
Specifications
Supported Processors
- AMD CPU Family 19h Models 0h-Fh (Milan), 10h-1Fh (Genoa), A0h-AFh (Genoa-Dense).
- AMD CPU Family 19h Models 30h-3Fh (Badami).
- AMD CPU Family 1Ah Models 0h-Fh (Turin), 10h-1Fh (Turin-Dense).
- AMD APU Family 19h Models 90h-9fh (MI300A).
- AMD GPUs MI200 and MI300 variants.
Dependencies
The "amd-staging" branch of amdsmi should be installed under “/opt/rocm/lib” path
Supported Operating Systems
- Ubuntu 20.04 22.04
- SUSE SLES 15 and
- RHEL 8.x, 9.x
Resources and Technical Support
Documentation
Resources
NOTE: The debian/rpm packages can be built using "make package" command
Support
Thank you for using AMD SMI Exporter. Please use https://github.com/amd/amd_smi_exporter/issues for bug reports, support, and feature requests.