Challenges Implementing Sentry with Effect: No Traces Forwarded Despite Setup
I’m having a hard time implementing Sentry (OpenTelemetry + error monitoring) with Effect.
I’ve tried reading various threads about this, but I haven't been completely successful.
With the setup as shown here: opentelemetryEffect and Sentry Integration: Handling Errors and Issue Creation, I didn’t encounter any errors, but no traces were forwarded.
I ended up with something like this:
Which are then included in my managed runtime.
It seems my traces are now being forwarded, but I don’t see anything related to my logs in Sentry.
Also, I’m not sure how issues should be sent to Sentry from an Effect-based system. I tried to log warning or errors but nothing show up.
I was used to call
Since my app can’t be fully effectful, I’m unsure how to proceed.
I’ve tried reading various threads about this, but I haven't been completely successful.
With the setup as shown here: opentelemetryEffect and Sentry Integration: Handling Errors and Issue Creation, I didn’t encounter any errors, but no traces were forwarded.
I ended up with something like this:
Which are then included in my managed runtime.
It seems my traces are now being forwarded, but I don’t see anything related to my logs in Sentry.
Also, I’m not sure how issues should be sent to Sentry from an Effect-based system. I tried to log warning or errors but nothing show up.
I was used to call
Sentry.captureException, but I feel like this is not the way in an effect world.Since my app can’t be fully effectful, I’m unsure how to proceed.
