-
hello! I recently added sentry to my nextjs application and now I don't see any of my traces going to langfuse and if I add debug: true to the exporter, I don't see anything outputted to the console either. I have verified my keys are correct and even created new ones. I'm sure this is something obvious but can someone help me on what else to try? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I found a similar discussion that might be relevant to your issue. In a thread titled "Custom" traces not creating when Next.js Vercel instrumentation is on, a solution was suggested to add Regarding your current issue, when integrating Sentry with a Next.js application, it's important to ensure that Sentry's OpenTelemetry setup does not conflict with Langfuse's tracing. If you are using Sentry, you should either set Additionally, make sure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu, setting |
Beta Was this translation helpful? Give feedback.
Setting
skipOpenTelemetrySetup: true
in Sentry is advisable when using both Sentry and Langfuse in a Next.js application to prevent tracing conflicts. However, this does not mean that Sentry will stop collecting OpenTelemetry data; it simply prevents Sentry from automatically setting up OpenTelemetry, allowing you to manually configure it to ensure compatibility with Langfuse tracing [1].To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other