c0ffeeca7 0ea2127c91
d-integrations: restart HA after adding the integration to the configuration.yaml (#32633)
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-05-09 22:14:02 +02:00

2.0 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_integration_type, related
title description ha_category ha_iot_class ha_release ha_domain ha_integration_type related
Datadog Send data and events to Datadog.
History
Local Push 0.45 datadog integration
docs title
/docs/configuration/ Configuration file

The Datadog {% term integration %} 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 {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

# Example configuration.yaml entry
datadog:

{% configuration %} host: description: The IP address or hostname of your Datadog host, e.g., 192.168.1.23. required: false default: localhost type: string port: description: Port to use. required: false default: 8125 type: integer prefix: description: Metric prefix to use. required: false default: "hass" type: string rate: description: The sample rate of UDP packets sent to Datadog. required: false default: 1 type: integer {% endconfiguration %}