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 on your data. You can use it to detect statistical anomalies, see graphs across multiple sources in real time, and send critical alerts to Slack.

The integration also sends events from activity tracking 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 add the Datadog service to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

host

The IP address or hostname of your Datadog host, for example, 192.168.1.23.

port

Port to use.

prefix

Metric prefix to use.

rate

The sample rate of UDP packets sent to Datadog.

Removing the integration

This integration follows standard integration removal. No extra steps are required.

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. Next to the entry you want to remove, select the three dots menu. Then, select Delete.
    • Depending on the integration, the entries are listed under one of the following headings:
      • Devices
      • Hubs
      • Services
      • Integration entries
  3. To confirm, select Delete.
    • Home Assistant also deletes the devices and entities of the entry.
  4. If Home Assistant asks you to restart, restart Home Assistant.
  5. If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.