-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protocol): Support comparisons in rule conditions on strings (#2730
) Adds the ability to run all comparison operators (`>`, `>=`, `<`, `<=`) on strings. This applies to dynamic sampling and metric extraction. Since this change breaks backwards compatibility, the versioning for metrics extraction and dynamic sampling were bumped. Dynamic sampling configs did not have a versioning schema before. The last breaking change introduced a `rules_v2` array. To fix this, there is now versioning built into the new config. Additionally, an `ErrorBoundary` is added around sampling configuration to prevent accidental deserialization failures. Backwards compatibility is as follows: - New Relay <> Old Sentry: Rules are automatically upgraded from `rules_v2`. - Old Relay <> New Sentry: Cannot see the new rules and forwards events.
- Loading branch information
Showing
17 changed files
with
251 additions
and
250 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
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
Oops, something went wrong.