Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BatchExporter not working on nextjs/vercel/otel #105

Open
pksorensen opened this issue Jul 14, 2024 · 2 comments
Open

BatchExporter not working on nextjs/vercel/otel #105

pksorensen opened this issue Jul 14, 2024 · 2 comments

Comments

@pksorensen
Copy link

Hi,

I made a small repo https://github.com/pksorensen/nextjs-repro-otel/tree/bugs/batchprocessor related to another issue and found additional issues that i am unsure where to report/solve.

vercel/next.js#67737

I found out that when using batchprocessor is used over simpleprocesor , then no spans are exported when it is on the edge runtime (was testing opentelemetry from Middleware ).

in instrumentation try to change from batch to simple and it works as expected (you see spans in console) and with batch you dont.

@gitDeveloper3
Copy link

did someone find the soluton to this? Am facing the same issue

@KiithNabaal
Copy link

I don't believe this is an issue with this library, as I had issues with BatchSpanProcessor before I even tried using this. From what I can tell, the implementation of that processor is a little buggy. You might have better luck reporting this on the main OpenTelemetry repo for JavaScript. BatchSpanProcessor isn't something Vercel implemented or probably even maintains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants