Monitoring HCP Consul with Datadog

The Datadog Consul Integration can collect information about your HCP Consul environment through a Consul client.

Overview

HCP Consul is a version of Consul in which the control plane is managed by HashiCorp Cloud Platform.

Setup

To start collecting your Consul metrics:

  1. Ensure you have set up HCP Consul according to the HCP Consul Introduction.
  2. Install the Datadog agent on your Consul client.
  3. Edit the consul.d/conf.yaml file, in the conf.d/ folder at the root of your Agent’s configuration directory and set the url configuration option to your Consul client URL.
  4. Restart the Agent.

Metrics collected

Using The Datadog Consul Integration with HCP Consul collects a subset of the Consul Integration’s default metrics that do not pertain to server health, including:

  • Information about Consul nodes
  • Network coordinates - inter- and intra-datacenter latencies
  • Cluster health metrics

Further Reading

Additional helpful documentation, links, and articles: