githubEdit

Prometheus

Monitor metrics with Prometheus

Notice: The Prometheus integration is very primitive and doesn't contain many metrics yet. Pull requestsarrow-up-right are welcome!

You can use Prometheusarrow-up-right to monitor metrics

Enabling metrics

Enable metrics in your hop node config file ~/.hop/config.json

  "metrics": {
    "enabled": true,
    "port": 8080
  }

Running Prometheus

Create prometheus.yml config

global:
  scrape_interval:     15s

  external_labels:
    monitor: 'hop-node-monitor'

scrape_configs:
  - job_name: 'prometheus'

    scrape_interval: 5s

    static_configs:
      - targets: ['localhost:8080']

Run Prometheus with docker

Running Grafana

Run Grafana with docker

Last updated