Document that taginclude/tagexclude can remove ANY tag (#4847)

This commit is contained in:
Daniel Nelson 2018-10-10 18:06:24 -07:00 committed by GitHub
parent a777fdda1e
commit a6b5f2c093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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