Skip to content

generateTraceId is being called when tracing is disabled #18355

@punkpeye

Description

@punkpeye

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node

SDK Version

10.27.0

Framework Version

No response

Link to Sentry event

N/A

Reproduction Example/SDK Setup

N/A

Steps to Reproduce

Run Sentry with tracing disabled.

Expected Result

Would not expect calls to generateTraceId

Actual Result

Caught this while trying to identify performance issues.

Image

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions