Fix the documentation of filters on Prometheus (#10035)

This commit is contained in:
Brendan Tobolaski 2019-08-02 05:12:03 -05:00 committed by Franck Nijhof
parent faa72c1ec4
commit 916c3c8b0e

View File

@ -26,32 +26,22 @@ filter:
required: false required: false
type: list type: list
keys: keys:
exclude: exclude_entities:
description: Excluded from recording. description: The list of entity ids to be excluded from recording.
required: false required: false
type: list type: list
keys: exclude_domains:
entities: description: The list of domains to be excluded from recording.
description: The list of entity ids to be excluded from recording. required: false
required: false type: list
type: list include_entities:
domains: description: The list of entity ids to be included from recordings. If set, all other entities will not be recorded. Values set by the **exclude_*** option will prevail.
description: The list of domains to be excluded from recording. required: false
required: false type: list
type: list include_domains:
include: description: The list of domains to be included from recordings. If set, all other entities will not be recorded. Values set by the **exclude_*** option will prevail.
description: Included in recordings. If set, all other entities will not be recorded. Values set by the **exclude** option will prevail.
required: false required: false
type: list type: list
keys:
entities:
description: The list of entity ids to be included from recordings.
required: false
type: list
domains:
description: The list of domains to be included from recordings.
required: false
type: list
{% endconfiguration %} {% endconfiguration %}
You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration. You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.