Consul Monitoring

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.

Consul Monitoring screenshot 1

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’
Revisions
RevisionDescriptionCreated
Consul

Consul

by Grafana Labs
Grafana Labs solution

Monitor Consul with Grafana. Easily keep tabs on your service mesh with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies