-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More complete example Signed-off-by: John <john.dorman@sony.com>
- Loading branch information
1 parent
382fe62
commit 2f3912a
Showing
6 changed files
with
102 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
processor/filterprocessor/testdata/config_traces_invalid.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
receivers: | ||
nop: | ||
|
||
processors: | ||
filter/spans: | ||
spans: | ||
# if both include and exclude are specified, include filters are applied first | ||
# the following configuration would only allow logs with resource attributes | ||
# "should_include" to pass through | ||
include: | ||
match_type: regexp | ||
services: | ||
- test | ||
attributes: | ||
- key: should_include | ||
value: "(true|probably_true)" | ||
# should error since nothing is set to match on | ||
exclude: | ||
match_type: regexp | ||
|
||
exporters: | ||
nop: | ||
|
||
service: | ||
pipelines: | ||
traces: | ||
receivers: [nop] | ||
processors: [filter/spans] | ||
exporters: [nop] |