-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): Added
error_sampler
option (#2456)
* Created issues_sampler * Verify the event gets passed * Restructured tests, adding different sample rates based on exception * Update tests/test_client.py Co-authored-by: Ivana Kellyerova <[email protected]> * Pass hint also to the sampler * Renamed issues_sampler to events_sampler * Handle invalid events_sampler return value * Added value to warning * Rename to `error_sampler` --------- Co-authored-by: Ivana Kellyerova <[email protected]>
- Loading branch information
1 parent
bf218e9
commit 085595b
Showing
3 changed files
with
146 additions
and
5 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