Skip to content

NoOpTransaction attaches Empty sentry-trace and baggage headers. #2376

@adinauer

Description

@adinauer

Integration

sentry

Java Version

8

Version

6.7.1

Steps to Reproduce

Send an outgoing request, e.g. using Spring RestTemplate where current span is a NoOpTransaction.
Check outgoing http request headers.

Need to check other http client integrations as well. NoOpTransaction and NoOpSpan seem to be affected.

Expected Result

sentry-trace and baggage headers are not attached

Actual Result

sentry-trace = 00000000000000000000000000000000-00000000-0000-0000-0000-000000000000-0
baggage = ""

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions