-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Support Python SDK 3.0.0 #92011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Support Python SDK 3.0.0 #92011
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
f5010ee
Update requirements
antonpirker 109670e
Remove propagate_hub because it is not needed because its the default…
antonpirker d1c81fb
Removed metrics_noop because there are no metrics anymore and thus no…
antonpirker 4cbadbc
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 2a204f4
Make tests run locally until pytest-sentry is 3.0 compatible
antonpirker f3d56a1
Replace .set_data with .set_attribute
antonpirker fcc75ac
changed add_attachment
antonpirker b75ec43
Changed start_transaction to start_span and custom_sampling_context t…
antonpirker 420b0e8
Changed continue_trace to use context manager
antonpirker 4896797
Removed set_measurements helper function because it is not used in co…
antonpirker 47401ba
oops
antonpirker ea9f446
marked places where dict-attributes are
antonpirker 58062aa
Replaced with
antonpirker 9ac4468
one more comment
antonpirker 20c7098
more comments
antonpirker ee2cd8e
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 5d23052
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker e8212a0
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 22bfae5
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker d72b7c3
bump pytest-sentry
antonpirker cbc0ab5
:snowflake: re-freeze requirements
getsantry[bot] 6a67a42
trigger ci
antonpirker 6be5d4f
update pytest-sentry
antonpirker fbb5794
Replaced .transaction with .root_span
antonpirker 262d7ec
Always use top level api to get scope
antonpirker bb55c2c
use sample_rate in attributes instead of custom_sampling_context
antonpirker 767ff19
trigger ci
antonpirker d0713ae
Replaced .containing_transaction with .root_span
antonpirker 539ba80
Removed unused option
antonpirker 77db522
set num_of_spanes in event.data not event.measurement
antonpirker 8ac865c
fixed linting
antonpirker c9aed13
Ignore measurements mypy check (because measuerements have already be…
antonpirker 2f87727
replaced with
antonpirker eda30c8
formatting
antonpirker 8d34740
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 2fc5724
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 9bdc5c7
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 811295a
does this work?
antonpirker 3196756
restart ci
antonpirker 6fe96cd
Updated assert
antonpirker cba2d08
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker b257ce3
trigger ci
antonpirker 3d22514
Renamed set_span_data to set_span_attribute to reflect new api
antonpirker 6fb01f0
Reverted attribute name change. this is safer
antonpirker ca31b3e
testing something
antonpirker b07b506
testing something
antonpirker 7645de6
test
antonpirker 19a8e15
trigger ci
antonpirker 585ce09
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 6140c91
cleanup
antonpirker d74d1da
test: Remove redundant assertions
szokeasaurusrex 021988d
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
szokeasaurusrex 3e9cf51
Merge branch 'szokeasaurusrex/remove-redundant-assertion' into antonp…
szokeasaurusrex 791fa5d
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker a6aaf63
Those set_attribute calls are fine. See https://github.com/getsentry/…
antonpirker e484188
ref: Use `set_client` to change DSN
szokeasaurusrex 9188a3d
ref: Rename `set_span_data` to `set_span_attribute`
szokeasaurusrex 2fe7a0c
Merge branch 'szokeasaurusrex/set_span_attribute' into antonpirker/co…
szokeasaurusrex ebec05e
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker f23fe52
Merge branch 'antonpirker/code-changes-for-sdk-3.0.0' of https://gith…
antonpirker b28a307
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 0870caa
ref: Remove `propagate_hub` to `ThreadingIntegration`
szokeasaurusrex 102cb52
ref(sdk): Use top-level `get_current_scope`
szokeasaurusrex 4c154c8
ref(sdk): Migrate to `get_isolation_scope`
szokeasaurusrex 534c9e2
ref(sdk): Migrate to `sentry_sdk.get_global_scope`
szokeasaurusrex a71823e
:hammer_and_wrench: apply pre-commit fixes
getsantry[bot] 3f1501e
Merge branch 'szokeasaurusrex/get_global_scope' into antonpirker/code…
szokeasaurusrex 6fd66b1
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 7ef89f3
Merge branch 'antonpirker/code-changes-for-sdk-3.0.0' of https://gith…
antonpirker 5d1e332
Removed debug code
antonpirker f1fc98b
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 443f074
test: Add test for custom sample rates (#93011)
szokeasaurusrex 83eaa41
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 3f14f20
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker d494df2
set_data -> set_attribute
antonpirker 3b850fd
trigger ci
antonpirker 1e2e2ef
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 2193459
new pytest-sentry
antonpirker f641055
update
antonpirker 0247622
client is not an argument of Scope constructor anymore
antonpirker e0c3e66
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 0522d95
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 25712df
Migrate sampling_context to use SDK 3.0 attributes (#94022)
sentrivana 8858bc7
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 7b1245f
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker c1f35b4
naming
antonpirker b64c9ca
test parametrization
antonpirker f084069
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker aee5352
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 3674af7
Removed new tests to test something
antonpirker 6c2a99f
small fix
antonpirker 5411f36
Revert "Removed new tests to test something"
antonpirker 2804ca9
better checks
antonpirker cc789a0
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
antonpirker 357dfec
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
sentrivana 4f0cec6
Fix scope level calls
sl0thentr0py 4eba442
Merge remote-tracking branch 'origin/master' into antonpirker/code-ch…
sl0thentr0py 7c2038d
Bump pytest-sentry to 0.5.1
sl0thentr0py bc22138
Merge branch 'master' into antonpirker/code-changes-for-sdk-3.0.0
sentrivana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.