link to glob pattern docs (#7657)

This commit is contained in:
Steven Soroka 2020-06-09 14:55:47 -04:00 committed by GitHub
parent 7ad58af22a
commit e00424d7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -412,7 +412,7 @@ excluded from a Processor or Aggregator plugin, it is skips the plugin and is
sent onwards to the next stage of processing. sent onwards to the next stage of processing.
- **namepass**: - **namepass**:
An array of glob pattern strings. Only metrics whose measurement name matches An array of [glob pattern][] strings. Only metrics whose measurement name matches
a pattern in this list are emitted. a pattern in this list are emitted.
- **namedrop**: - **namedrop**:
@ -420,7 +420,7 @@ The inverse of `namepass`. If a match is found the metric is discarded. This
is tested on metrics after they have passed the `namepass` test. is tested on metrics after they have passed the `namepass` test.
- **tagpass**: - **tagpass**:
A table mapping tag keys to arrays of glob pattern strings. Only metrics A table mapping tag keys to arrays of [glob pattern][] strings. Only metrics
that contain a tag key in the table and a tag value matching one of its that contain a tag key in the table and a tag value matching one of its
patterns is emitted. patterns is emitted.
@ -434,7 +434,7 @@ Modifier filters remove tags and fields from a metric. If all fields are
removed the metric is removed. removed the metric is removed.
- **fieldpass**: - **fieldpass**:
An array of glob pattern strings. Only fields whose field key matches a An array of [glob pattern][] strings. Only fields whose field key matches a
pattern in this list are emitted. pattern in this list are emitted.
- **fielddrop**: - **fielddrop**:
@ -443,7 +443,7 @@ patterns will be discarded from the metric. This is tested on metrics after
they have passed the `fieldpass` test. they have passed the `fieldpass` test.
- **taginclude**: - **taginclude**:
An array of glob pattern strings. Only tags with a tag key matching one of 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 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 based on its tag, `taginclude` removes all non matching tags from the
metric. Any tag can be filtered including global tags and the agent `host` metric. Any tag can be filtered including global tags and the agent `host`
@ -590,3 +590,4 @@ Reference the detailed [TLS][] documentation.
[metric filtering]: #metric-filtering [metric filtering]: #metric-filtering
[telegraf.conf]: /etc/telegraf.conf [telegraf.conf]: /etc/telegraf.conf
[TLS]: /docs/TLS.md [TLS]: /docs/TLS.md
[glob pattern]: https://github.com/gobwas/glob#syntax