Consul
Plugin: go.d.plugin Module: consul
Overview
This collector monitors key metrics of Consul Agents: transaction timings, leadership changes, memory usage and more.
It periodically sends HTTP requests to Consul REST API.
Used endpoints:
This collector is supported on all platforms.
This collector supports collecting metrics from multiple instances of this integration, including remote instances.
Default Behavior
Auto-Detection
This collector discovers instances running on the local host, that provide metrics on port 8500.
On startup, it tries to collect metrics from:
Limits
The default configuration for this integration does not impose any limits on data collection.
Performance Impact
The default configuration for this integration is not expected to impose a significant performance impact on the system.
Metrics
Metrics grouped by scope.
The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
The set of metrics depends on the Consul Agent mode.
Per Consul instance
These metrics refer to the entire monitored application.
This scope has no labels.
Metrics:
| Metric | Dimensions | Unit | Leader | Follower | Client |
|---|---|---|---|---|---|
| consul.client_rpc_requests_rate | rpc | requests/s | • | • | • |
| consul.client_rpc_requests_exceeded_rate | exceeded | requests/s | • | • | • |
| consul.client_rpc_requests_failed_rate | failed | requests/s | • | • | • |
| consul.memory_allocated | allocated | bytes | • | • | • |
| consul.memory_sys | sys | bytes | • | • | • |
| consul.gc_pause_time | gc_pause | seconds | • | • | • |
| consul.kvs_apply_time | quantile_0.5, quantile_0.9, quantile_0.99 | ms | • | • | |
| consul.kvs_apply_operations_rate | kvs_apply | ops/s | • | • | |
| consul.txn_apply_time | quantile_0.5, quantile_0.9, quantile_0.99 | ms | • |