Skip to content

Conversation

szokeasaurusrex
Copy link
Member

Fixes #2185

@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review August 7, 2023 14:11
Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻
You'll need to make mypy happy though:

sentry_sdk/client.py:590: error: Item "None" of "Transport | None" has no attribute "parsed_dsn"  [union-attr]
sentry_sdk/client.py:590: error: Item "None" of "Dsn | Any | None" has no attribute "netloc"  [union-attr]
sentry_sdk/hub.py:840: error: Function is missing a type annotation  [no-untyped-def]
sentry_sdk/hub.py:841: error: Item "None" of "Client | None" has no attribute "is_sentry_url"  [union-attr]

@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) August 7, 2023 14:32
@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) August 8, 2023 09:31
@szokeasaurusrex szokeasaurusrex merged commit fa689eb into master Aug 8, 2023
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/dont-record-sentry-spans branch August 8, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't record spans for internal SDK requests to the DSN
3 participants