From e0f5bd4b95fdf0ff81fefdf606f1ca0830af3f33 Mon Sep 17 00:00:00 2001 From: Jan Losinski Date: Thu, 27 Apr 2017 07:54:09 +0200 Subject: [PATCH] Document blacklist_domains of InfluxDB (#2493) * Document blacklist_domains of InfluxDB Signed-off-by: Jan Losinski * Adapt changes to InfluxDB include/exclude changes. The config options used there are now following the same scheme as the ones in recorder and similar components. Signed-off-by: Jan Losinski --- source/_components/influxdb.markdown | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/source/_components/influxdb.markdown b/source/_components/influxdb.markdown index d2dbb730557..14b00a1a0fb 100644 --- a/source/_components/influxdb.markdown +++ b/source/_components/influxdb.markdown @@ -36,8 +36,12 @@ Configuration variables: - **verify_ssl** (*Optional*): Verify SSL certificate for https request. Defaults to false. - **default_measurement** (*Optional*): Measurement name to use when an entity doesn't have a unit. Defaults to entity id. - **override_measurement** (*Optional*): Measurement name to use instead of unit or default measurement. This will store all data points in a single measurement. -- **blacklist** (*Optional*): List of entities that should not be logged to InfluxDB. -- **whitelist** (*Optional*): List of the entities (only) that will be logged to InfluxDB. If not set, all entities will be logged. Values set by the **blacklist** option will prevail. +- **exclude** (*Optional*): Configure which components should be excluded from recording to InfluxDB. + - **entities** (*Optional*): The list of entity ids to be excluded from recording to InfluxDB. + - **domains** (*Optional*): The list of domains to be excluded from recording to InfluxDB. +- **include** (*Optional*): Configure which components should be included in recordings to InfluxDB. If set, all other entities will not be recorded to InfluxDB. Values set by the **blacklist** option will prevail. + - **entities** (*Optional*): The list of entity ids to be included from recordings to InfluxDB. + - **domains** (*Optional*): The list of domains to be included from recordings to InfluxDB. - **tags** (*Optional*): Tags to mark the data. ## {% linkable_title Data migration %} @@ -169,12 +173,16 @@ influxdb: ssl: true verify_ssl: true default_measurement: state - blacklist: - - entity.id1 - - entity.id2 - whitelist: - - entity.id3 - - entity.id4 + exclude: + entities: + - entity.id1 + - entity.id2 + domains: + - automation + include: + entities: + - entity.id3 + - entity.id4 tags: instance: prod source: hass