-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tracing): Remove
instrumenter
option
Remove `instrumenter` parameter from all functions that accept it (details below), and modify tests to not pass the `instrumenter` parameter to any functions that used to take it. Also, delete `tests/tracing/test_noop_span.py`, which tests functionality removed in this commit. BREAKING CHANGE: - Remove `sentry_sdk.init`'s `instrumenter` kwarg. - Delete `sentry_sdk.contsts.INSTRUMENTER` class. - Remove `sentry_sdk.hub.Hub.start_span`'s `instrumenter` parameter. - Remove `sentry_sdk.hub.Hub.start_transaction`'s `instrumenter` parameter. - Remove `sentry_sdk.scope.Scope.start_transaction`'s `instrumenter` parameter. - Remove `sentry_sdk.scope.Scope.start_span`'s `instrumenter` parameter. - Remove `sentry_sdk.tracing.Span.start_child`'s `instrumenter` parameter. - Remove `sentry_sdk.tracing.NoOpSpan.start_child`'s `instrumenter` parameter. Closes: #3321
- Loading branch information
1 parent
4428ee9
commit acd7cf2
Showing
9 changed files
with
23 additions
and
142 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
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.