Allow sending logs and web vitals from non-production deployments
nickrttn opened this issue ยท 3 comments
๐
We would like to be able to send logs and web vitals from non-production Next.js deployments on Vercel.
Our use case is a canary deployment that we would like to open up to users for early feedback and testing. We would ideally receive logs and web vitals from that deployment so we can compare them with our production deployment and spot issues sooner rather than later.
Is this something you would consider supporting?
Hey @nickrttn, enabling the NEXT_PUBLIC_AXIOM_INGEST_ENDPOINT
env on staging deployments as well should do the trick.
Note that we currently don't attach the Vercel environment to Web-Vitals (we're working on that) so distinguishing staging vitals from prod vitals could be an issue.
Let me know if that works ๐