Skip to content

How to propagate across Sentry Instrumented to Otel instrumented services? #19071

@ckblockit

Description

@ckblockit

Problem Statement

I have
a) a web server (NodeJS + Express) which instruments Sentry SDK.
b) a service running with public Docker image that instruments OTEL with its own SDK

(a) Web server calls (b) service via HTTP request.

I am exporting the trace from the b) to sentry using Otel Collector, but it doesn't show up in Sentry as part of the same trace (not showing up at all)

Solution Brainstorm

Can you simply update the propagator to always add W3C header?
I believe NodeJS package doesn't do this based on the documentation?

Image

Additional Context

I am not sure why this is not implemented by default.
What's the harm on enabling this propagateTraceparent option true by default for all pakcages?

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