Skip to content

Commit 4692e18

Browse files
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: Alexa Kreizinger <[email protected]>
1 parent 5962e4e commit 4692e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/processors/metrics-selector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The metrics selector processor supports the following configuration parameters:
1818

1919
## Matching operations
2020

21-
The metrics selector processor has two matching operations: prefix matching and substring matching.
21+
The metrics selector processor has these matching operations: prefix matching and substring matching.
2222

2323
### Prefix matching
2424

@@ -28,7 +28,7 @@ If no `operation_type` value is specified, and if the value of `metric_name` is
2828

2929
### Substring matching
3030

31-
Substring matching treats the value of `metric_name` as a regular expression pattern, and compares this pattern against each incoming metric name accordingly. This pattern can appear anywhere within the name of the incoming metric. For example, the value `bytes` results in a match for metrics named `bytes_total` as well as metrics named `input_bytes_count`.
31+
Substring matching treats the value of `metric_name` as a regular expression pattern, and compares this pattern against each incoming metric name accordingly. This pattern can appear anywhere within the name of the incoming metric. For example, the value `bytes` results in a match for both metrics named `bytes_total` and metrics named `input_bytes_count`.
3232

3333
If the value of `metric_name` is a string wrapped in forward slashes (for example, `metric_name: /storage..*/`), the metrics selector processor defaults to substring matching, regardless of whether an `operation_type` value is specified. This means that a `metric_name` value wrapped in forward slashes will always use substring matching, even if `operation_type` is set to `PREFIX`.
3434

0 commit comments

Comments
 (0)