Skip to content

Don't record spans for internal SDK requests to the DSN #2185

Closed

Description

@sl0thentr0py

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.25.1

Steps to Reproduce

import sentry_sdk

sentry_sdk.init(traces_sample_rate=1.0, debug=True)

# for i in range(1000):
with sentry_sdk.start_transaction(name='parent transaction'):
    with sentry_sdk.start_span(op='span wrapper', description='foobar'):
        for i in range(100):
            with sentry_sdk.start_transaction(name='child transaction'):
                for i in range(1050):
                    with sentry_sdk.start_span(op='sleep', description='zzz'):
                        2**10

sentry_sdk.flush(10)

Expected Result

no internal http spans

Actual Result

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions