We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SUMMARY
NextJS 15.1 made the after function stable: https://nextjs.org/docs/app/api-reference/functions/after
I tried the following code in my page.tsx:
after(() => { trace.getActiveSpan()?.addEvent("Page streaming finished") });
I get the following error Can not execute the operation on ended Span.
Can not execute the operation on ended Span
My wondering: Could it be that @vercel/otel is ending the span before potentially running the after function?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SUMMARY
NextJS 15.1 made the after function stable: https://nextjs.org/docs/app/api-reference/functions/after
I tried the following code in my page.tsx:
I get the following error
Can not execute the operation on ended Span
.My wondering: Could it be that @vercel/otel is ending the span before potentially running the after function?
The text was updated successfully, but these errors were encountered: