forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal/filterottl] Switch to
match
instead of drop (open-telemet…
…ry#27471) **Description:** We noticed that if you pass in a condition that fails parsing that the error message includes `drop() where ...` and it was jarring to see `drop` as the function when using filterottl to generate a condition that was not related to dropping data. While we wait for the ability to parse conditions in isolation (open-telemetry#13545), this change makes `filterottl` a little friendlier. **Testing:** <Describe what testing was performed and which tests were added.> Updated unit tests
- Loading branch information
1 parent
8da82c1
commit 5fcd082
Showing
2 changed files
with
31 additions
and
31 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