This project helps setting up Grafana monitoring for your bitaxe miner. I will assume you have a basic understanding on Docker/Grafana
We will be using:
- Docker to run our containers
- Grafana for visualisation
- Prometheus as a Grafana datasourcce
- json-exporter as.. well a json exporter
A basic Grafana compose file can be found in Compose-file
Link to repo:https://github.com/prometheus-community/json_exporter
Edit the prometheus.yml to match the IP's of your bitaxe and json-exporter respectively. In the example compose-file this would be at /etc/prometheus/prometheus.yml
In this part you will add all your miners I only have one
static_configs:
- targets:
- http://10.10.99.1/api/system/info
The ip below should be the ip of the json-exporter container
- target_label: __address__
# prometheus-json-exporter endpoint
replacement: 10.10.40.1:7979
Edit the json-exporter config to add the bitaxe module as shown in json-exporter-config.yml In the example compose-file this would be at /root/jsonexporter/config/config.yml
When Grafana is up and running, import the dashboardJSON Add the local prometheus instance as a datasource and set it for your bitaxe dashboard This example is from a bitaxe Supra