---
title: Monitoring HCP Consul with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Integrations > Integration Guides > Monitoring HCP Consul with Datadog
---

# Monitoring HCP Consul with Datadog

{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

The [Datadog Consul Integration](https://docs.datadoghq.com/integrations/consul.md?tab=host) 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](https://developer.hashicorp.com/hcp/docs/consul).

## Setup{% #setup %}

To start collecting your Consul metrics:

1. Ensure you have set up HCP Consul according to the [Get Started with HCP Consul documentation](https://developer.hashicorp.com/consul/tutorials/get-started-hcp).
1. Install the Datadog Agent on your [Consul client](https://developer.hashicorp.com/hcp/docs/consul/usage/clients).
1. Edit the [`consul.d/conf.yaml` file](https://github.com/DataDog/integrations-core/blob/master/consul/datadog_checks/consul/data/conf.yaml.example), in the `conf.d/` folder at the root of your [Agent's configuration directory](https://docs.datadoghq.com/agent/guide/agent-configuration-files.md?tab=agentv6v7#agent-configuration-directory) and set the `url` configuration option to your Consul client URL.
1. Restart the [Agent](https://docs.datadoghq.com/agent/guide/agent-commands.md#start-stop-and-restart-the-agent).

## Metrics collected{% #metrics-collected %}

Using the Datadog Consul Integration with HCP Consul collects a subset of the Consul Integration's [default metrics](https://docs.datadoghq.com/integrations/consul.md?tab=host#metrics) that do not pertain to [server health](https://www.consul.io/docs/agent/telemetry#server-health), including the following:

- Information about Consul nodes
- Network coordinates (inter- and intra-data center latencies)
- [Cluster health](https://www.consul.io/docs/agent/telemetry#cluster-health) metrics

## Further Reading{% #further-reading %}

- [Learn about the Consul integration](https://docs.datadoghq.com/integrations/consul.md)
