add tagpass/tagdrop note in docs (#8053)

This commit is contained in:
Samantha Wang 2020-09-03 13:32:20 -07:00 committed by GitHub
parent 45a87a1753
commit b1bce91345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -499,6 +499,10 @@ patterns is emitted.
The inverse of `tagpass`. If a match is found the metric is discarded. This
is tested on metrics after they have passed the `tagpass` test.
> NOTE: Due to the way TOML is parsed, `tagpass` and `tagdrop` parameters must be
defined at the *_end_* of the plugin definition, otherwise subsequent plugin config
options will be interpreted as part of the tagpass/tagdrop tables.
#### Modifiers
Modifier filters remove tags and fields from a metric. If all fields are