Skip to content

Commit

Permalink
Merge pull request #5918 from jonathanpdx/patch-1
Browse files Browse the repository at this point in the history
feat(Infinite Tracing): Update Rule Priority text for span attribute filters
  • Loading branch information
urbiz-nr committed Feb 2, 2022
2 parents 412de72 + 7411bef commit 75ea3b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ When you add a custom rule, it takes effect immediately for that trace observer.

## Rule Priority

When a trace has spans with attributes that match both **Keep** and **Discard** filter rules, the trace is discarded.
Each rule is evaluated independently. If any rule matches, its observer action, **Keep** or **Discard**, is carried out. When a trace has spans with attributes that match both **Keep** and **Discard** filter rules, the trace is discarded.

For example, suppose you don't want to save some expected errors that have a certain phrase in the error message. You could create a **Discard** filter rule that targets the error message while still retaining all other traces with an error.

0 comments on commit 75ea3b7

Please sign in to comment.