Update Datadog component configuration variable (#6546)

Update style of Datadog component documentation to follow new configuration variables description.
Related to #6385.
This commit is contained in:
Klaas Schoute 2018-10-06 13:44:50 +02:00 committed by Franck Nijhof
parent 5030fc0f1c
commit 863fe93c25

View File

@ -33,9 +33,25 @@ To use the `datadog` component in your installation, add the following to your `
datadog:
```
Configuration variables:
- **host** (*Optional*): The IP address or hostname of your Datadog host, e.g., 192.168.1.23. Defaults to `localhost`.
- **port** (*Optional*): Port to use. Defaults to 8125.
- **prefix** (*Optional*): Prefix to use. Defaults to `hass`.
- **rate** (*Optional*): The sample rate of UDP packets sent to Datadog. Defaults to 1.
{% 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: 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 %}