Skip to content

ArtamaMeyer/bitaxeGrafana

Repository files navigation

Setup

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

Grafana / Prometheus

A basic Grafana compose file can be found in Compose-file

json-exporter

Link to repo:https://github.com/prometheus-community/json_exporter

Compose-file

Editing config files

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

The dashboard

When Grafana is up and running, import the dashboardJSON Add the local prometheus instance as a datasource and set it for your bitaxe dashboard The dashboard This example is from a bitaxe Supra

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published