Monitoring HCP Consul with Datadog

Overview

The Datadog Consul Integration can collect information about your HCP Consul environment through a Consul client. 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 Get Started with HCP Consul documentation.
  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 the following:

  • Information about Consul nodes
  • Network coordinates (inter- and intra-data center latencies)
  • Cluster health metrics

Further Reading

Additional helpful documentation, links, and articles:

PREVIEWING: may/unit-testing