Skip to content

Using Your Existing OpenTelemetry Setup examples doesnt seem to work #13933

@tmayr

Description

@tmayr

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

8.32.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://github.com/tmayr/sentry-own-otel-repro

Steps to Reproduce

I've been trying to upgrade to Sentry 8 for about a week now, but I keep having little issues here and there integrating it with our OTEL setup.

I've linked a minimal reproduction based on the examples, because it seems that following the examples just puts me in a place full of errors and non working results. No matter how I set it up, i always end up with errors around SentryPropagator/SentrySampler not being setup properly.

Not sure if it's an actual bug, or there's something wrong in my setup?

Thanks!

Expected Result

Sentry.validateOpenTelemetrySetup() actually validating the setup properly and/or the setup being done properly.

Actual Result

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: nodeIssues related to the Sentry Node SDK

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions