Ls339/datadog docs (#31446)

* Improve documentation for the Datadog integration

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Lewis Soto 2024-02-16 03:23:33 -05:00 committed by GitHub
parent 399eb3d250
commit 73c5a3ed00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,14 @@ The integration also sends events from the logbook into Datadog, allowing you to
<img src='/images/screenshots/datadog-event-stream.png' />
</p>
## Setup
You need to have a Datadog agent installed in a network accessible by Home Assistant.
In the [Datadog Agent configuration](https://github.com/DataDog/datadog-agent/blob/main/pkg/config/config_template.yaml#L2203-L2207), you must enable [DogStatsD](https://docs.datadoghq.com/developers/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:
```yaml
@ -42,7 +50,7 @@ port:
default: 8125
type: integer
prefix:
description: Prefix to use.
description: Metric prefix to use.
required: false
default: "`hass`"
type: string