Standalone container configuration#
To use a custom configuration with the AMD Network Device Metrics Exporter container:
Create a config file based on the provided example config.json
Save
config.jsonin theconfig/folderMount the
config/folder andnicctlbinary from AINIC installation, when starting the container:
docker run -d \
--privileged \
--network=host \
-v ./config:/etc/metrics \
-v /usr/sbin/nicctl:/usr/sbin/nicctl \
--name network-device-metrics-exporter \
rocm/device-metrics-exporter:nic-v1.0.0 -monitor-nic=true -monitor-gpu=false
The exporter polls for configuration changes every minute, so updates take effect without container restarts.