You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(nextjs): Tag backend events when running on vercel (#4091)
Because nextjs apps behave somewhat differently on vercel than off, it's helpful to know when an event came from a vercel-deployed app vs. a non-vercel-deployed app. This adds a tag to events from vercel, based on an environment variable which vercel sets in the serverless environment in which backend lambdas run.
Note: If the user has overridden the default and turned off `Automatically expose System Environment Variables` in their project settings, we won't know they're on vercel. That said, it's hard to know why one ever would, and likely most people don't, so presumably this data will be close enough to accurate to remain useful. See https://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables.
0 commit comments