Datadog


The Datadog integrationIntegrations connect and integrate Home Assistant with your devices, services, and more.
[Learn more]
sends all state changes to Datadog using a Datadog Agent.

Datadog allows you to analyze, monitor, cross-reference and alert upon your data. You can use it to detect statistical anomalies, see graphs across multiple sources in real-time, send critical alerts to Slack, etc.

The integration also sends events from the logbook into Datadog, allowing you to correlate these events with your data.

Setup

You need to have a Datadog agent installed in a network accessible by Home Assistant.

In the Datadog Agent configuration, you must enable DogStatsD non-local traffic to allow StatsD data collection from outside localhost.

Configuration

To use the datadog integration in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
datadog:

Configuration Variables

host string (Optional, default: localhost)

The IP address or hostname of your Datadog host, e.g., 192.168.1.23.

port integer (Optional, default: 8125)

Port to use.

prefix string (Optional, default: hass)

Metric prefix to use.

rate integer (Optional, default: 1)

The sample rate of UDP packets sent to Datadog.