From 8543f48e7991d56ba3021acffec35f46a2af5b08 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Aug 2017 13:06:53 +0200 Subject: [PATCH] Add configuration variables (fixes #3234) (#3240) --- source/_components/prometheus.markdown | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/_components/prometheus.markdown b/source/_components/prometheus.markdown index e0f701bcf37..ba6d65ba6c4 100644 --- a/source/_components/prometheus.markdown +++ b/source/_components/prometheus.markdown @@ -21,7 +21,14 @@ To use the `prometheus` component in your installation, add the following to you prometheus: ``` -The Prometheus component has no configuration variables. +Configuration variables: + +- **exclude** (*Optional*): Configure which components should be excluded from recording. + - **entities** (*Optional*): The list of entity ids to be excluded from recording. + - **domains** (*Optional*): The list of domains to be excluded from recording. +- **include** (*Optional*): Configure which components should be included in recordings. If set, all other entities will not be recorded. Values set by the **blacklist** option will prevail. + - **entities** (*Optional*): The list of entity ids to be included from recordings. + - **domains** (*Optional*): The list of domains to be included from recordings. You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.