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.
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’
- targets:
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |
Consul
Monitor Consul with Grafana. Easily keep tabs on your service mesh with Grafana Cloud's out-of-the-box monitoring solution.
Learn more