mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Update Statsd component configuration variable (#6892)
This commit is contained in:
parent
75300e2081
commit
de3e991df2
@ -21,14 +21,37 @@ To use the `statsd` component in your installation, add the following to your `c
|
|||||||
statsd:
|
statsd:
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Optional*): IP address of your StatsD host, eg. 192.168.1.10. Defaults to `localhost`.
|
description: "IP address of your StatsD host, e.g., 192.168.1.10."
|
||||||
- **port** (*Optional*): Port to use. Defaults to 8125.
|
required: true
|
||||||
- **prefix** (*Optional*): Prefix to use. Defaults to `hass`.
|
default: localhost
|
||||||
- **rate** (*Optional*): The sample rate. Defaults to 1.
|
type: string
|
||||||
- **log_attributes** (*Optional*): Log state and attribute changes. This changes the default stats path.
|
port:
|
||||||
- **value_mapping** (*Optional*): Map non-numerical values to numerical ones.
|
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.
|
||||||
|
required: false
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
log_attributes:
|
||||||
|
description: Log state and attribute changes. This changes the default stats path.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
value_mapping:
|
||||||
|
description: Map non-numerical values to numerical ones.
|
||||||
|
required: false
|
||||||
|
type: list
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
Full example:
|
Full example:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user