From a6b5f2c0931c5abd6c0a69f7702c1aaa0821a9ce Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Wed, 10 Oct 2018 18:06:24 -0700 Subject: [PATCH] Document that taginclude/tagexclude can remove ANY tag (#4847) --- docs/CONFIGURATION.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 0698721e4..27002be0d 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -192,11 +192,13 @@ they have passed the `fieldpass` test. An array of glob pattern strings. Only tags with a tag key matching one of the patterns are emitted. In contrast to `tagpass`, which will pass an entire metric based on its tag, `taginclude` removes all non matching tags from the -metric. +metric. Any tag can be filtered including global tags and the agent `host` +tag. - **tagexclude**: The inverse of `taginclude`. Tags with a tag key matching one of the patterns -will be discarded from the metric. +will be discarded from the metric. Any tag can be filtered including global +tags and the agent `host` tag. ### Input Configuration Examples