Standalone container configuration

Standalone container configuration#

To use a custom configuration with the AMD Network Device Metrics Exporter container:

  1. Create a config file based on the provided example config.json

  2. Save config.json in the config/ folder

  3. Mount the config/ folder and nicctl binary 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.