Open blephy opened 1 day ago
Assigning to @getsentry/support for routing ⏲️
Hi, these log messages are very important:
Sentry Logger [error]: You have to set up the SentryPropagator. Without this, the OpenTelemetry & Sentry integration will not work properly. Sentry Logger [error]: You have to set up the SentrySpanProcessor. Without this, the OpenTelemetry & Sentry integration will not work properly.
Setting up the propagator and even more so the Sentry processor is critical.
Environment
SaaS (https://sentry.io/)
What are you trying to accomplish?
I'm trying to get OTLP working with Sentry.
I went through all the documentation on the subject, as well as several videos provided by sentry without ever succeeding.
The OTLP setup works, I have the Pino instrumentation for example. But the Sentry sdk no longer sends errors to the sentry cloud.
What I would like is:
Version :
How are you getting stuck?
Here is my code (imported with
node --import
)logs :
Seems OTLP instrumentation is working, my pino instance is instrumented. I don't know about fastify / http, server response does not include traceId an so on headers.
You have to set up the SentryPropagator : i deep dive into the
Sentry.validateOpenTelemetrySetup();
function's code, and i think this is a false positive.As you can see, i'm triggering the fastify sentry error handler, but no error is sent to sentry.
I tried :
I also tried this an this does not work
Where in the product are you?
APIs
Link
No response
DSN
No response
Version
No response