From 916c3c8b0e87a761cbe0a4e8a26388bc00084ab9 Mon Sep 17 00:00:00 2001 From: Brendan Tobolaski Date: Fri, 2 Aug 2019 05:12:03 -0500 Subject: [PATCH] Fix the documentation of filters on Prometheus (#10035) --- source/_components/prometheus.markdown | 34 +++++++++----------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/source/_components/prometheus.markdown b/source/_components/prometheus.markdown index 57b7609a353..748bfbe51c2 100644 --- a/source/_components/prometheus.markdown +++ b/source/_components/prometheus.markdown @@ -26,32 +26,22 @@ filter: required: false type: list keys: - exclude: - description: Excluded from recording. + exclude_entities: + description: The list of entity ids to be excluded from recording. required: false type: list - keys: - entities: - description: The list of entity ids to be excluded from recording. - required: false - type: list - domains: - description: The list of domains to be excluded from recording. - required: false - type: list - include: - description: Included in recordings. If set, all other entities will not be recorded. Values set by the **exclude** option will prevail. + exclude_domains: + description: The list of domains to be excluded from recording. + required: false + type: list + include_entities: + 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. + required: false + type: list + include_domains: + 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. required: false 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 %} You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.