Skip to content

Commit 8543f48

Browse files
authored
Add configuration variables (fixes home-assistant#3234) (home-assistant#3240)
1 parent 77d60c7 commit 8543f48

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/_components/prometheus.markdown

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ To use the `prometheus` component in your installation, add the following to you
2121
prometheus:
2222
```
2323
24-
The Prometheus component has no configuration variables.
24+
Configuration variables:
25+
26+
- **exclude** (*Optional*): Configure which components should be excluded from recording.
27+
- **entities** (*Optional*): The list of entity ids to be excluded from recording.
28+
- **domains** (*Optional*): The list of domains to be excluded from recording.
29+
- **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.
30+
- **entities** (*Optional*): The list of entity ids to be included from recordings.
31+
- **domains** (*Optional*): The list of domains to be included from recordings.
2532
2633
You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.
2734

0 commit comments

Comments
 (0)