Lewis Soto 73c5a3ed00
Ls339/datadog docs (#31446)
* Improve documentation for the Datadog integration

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-02-16 09:23:33 +01:00

1.9 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_integration_type
title description ha_category ha_iot_class ha_release ha_domain ha_integration_type
Datadog Send data and events to Datadog.
History
Local Push 0.45 datadog integration

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 configuration.yaml file:

# 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 %}