- Docker
When starting the miners, passing the --metrics
argument to start.sh
when running will do the following:
- The
collect_nvidia_metrics.sh
shell script runs and uses nvidia-smi to collect NVIDIA GPU metrics and uploads it to InfluxDB in a background process. - The
collect_amd_cpu_metrics.py
Python script runs to collectlm-sensors
data, which identifies AMD hardware and CPU hardware and their sensors, and uploads to InfluxDB.
Go to http://<miner-ip-address>:3003
(substitute <miner-ip-address>
with the IP of your Miner machine, since the Docker container is running in there. Otherwise, change it to where Grafana is being hosted by start_metrics_server.sh
)and use the following login for Grafana:
username: root
password: root
The InfluxDB datasource is not initially setup within Grafana. So, navigate to create a new datasource, select InfluxDB as the type and then use the database name ethmetrics
, no login required.
The dashboard is initially not setup as well, so that's a manual effort of creating one's own custom dashboards, or.... use the sample_grafana_metrics_dashboard.json
provided and import into Grafana to use it as a starting point for your own dashboard.
Enjoy!