Skip to content

Tracing: add support for strictTraceContinuation #1830

@Fabccc

Description

@Fabccc

Problem Statement

When a 3rd party access our API's, it can set headers like "Traceparent" and "Tracestate", which trigger trace propagation on our backend, even though the trace sample rate is set to 0%.
When navigating to solve the issue by configuring the SDK, I fumble on this https://develop.sentry.dev/sdk/telemetry/traces/#stricttracecontinuation, but I could find an equivalent for the PHP sdk, it was only available on Python or Javascript.
I am missing something ?

Solution Brainstorm

This option should be able to ignore current trace propagation if sentry org are different base on the headers and the DSN set in the SDK.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions