Consul Monitoring

Dashboard

Get performance metrics from Consul metrics prometheus endpoint /agent/metrics?format=prometheus. Tested with Consul 1.4.4, Prometheus 2.10.0 and Grafana 6.2.4. Although can potentially work with other versions.
Last updated: 3 years ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 2004

Reviews: 2

  • prom.png
    prom.png

Data flow: Consul -> Prometheus -> Grafana.

In each Consul agent Prometheus config should be present as described here https://www.consul.io/docs/agent/options.html#telemetry-prometheus_retention_time.

Job collector should be added in Prometheus config like:

scrape_configs:

  • job_name: 'consul'
    metrics_path: /v1/agent/metrics
    params:
    format: ['prometheus']
    static_configs:
    • targets:
      • 'node1_host:8500'
      • 'node2_host:8500'
Get this dashboard:
10642
Dependencies: