From b1bce913456a7cbaecf7b5e235af5806000a3cea Mon Sep 17 00:00:00 2001 From: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Date: Thu, 3 Sep 2020 13:32:20 -0700 Subject: [PATCH] add tagpass/tagdrop note in docs (#8053) --- docs/CONFIGURATION.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 7826da3be..341accefd 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -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