Update prometheus documentation (#5821)

Clarify that the "namespace" option is available in version 0.73 and later. Earlier version will error out.
This commit is contained in:
Reinhard Tartler 2018-07-21 12:38:48 -04:00 committed by Fabian Affolter
parent 46c2d64ef0
commit eb29ffddc8

View File

@ -23,7 +23,7 @@ prometheus:
Configuration variables: Configuration variables:
- **namespace** (*Optional*): The "namespace" that will be assigned to all the Prometheus metrics. This is the prefix of the metric name. E.g., having `myhass` as the namespace will cause the device tracker metrics to be `myhass_device_tracker_state`, the switch metrics to be `myhass_switch_state` and so on. The default is to not add any prefix to the metrics name. - **namespace** (*Optional*): The "namespace" that will be assigned to all the Prometheus metrics. This is the prefix of the metric name. E.g., having `myhass` as the namespace will cause the device tracker metrics to be `myhass_device_tracker_state`, the switch metrics to be `myhass_switch_state` and so on. The default is to not add any prefix to the metrics name. (available in version 0.73.0 and later)
- **filter** (*Optional*): Filtering directives for the components which should be included or excluded from recording. - **filter** (*Optional*): Filtering directives for the components which should be included or excluded from recording.
- **exclude** (*Optional*): Excluded from recording. - **exclude** (*Optional*): Excluded from recording.
- **entities** (*Optional*): The list of entity ids to be excluded from recording. - **entities** (*Optional*): The list of entity ids to be excluded from recording.