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
by default afaict, we don't set any environment tag which makes Relay set production
I actually don't know what the expected behaviour is and how SDKs of other languages handle this. We should investigate this further and ideally settle on common behaviour. Thanks for raising!
This is more about the dev mode environment, right?
Someone created a PR for Nuxt but we closed it as it was not finished (#15179). We can pick it up again but I think it would make sense to create a solution to detect the dev environment for all SDKs.
In the case of Nuxt, it's just looking for import.meta.dev as it is Vite-based. We could just check what's available during dev mode.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nuxt
SDK Version
9.5.0
Framework Version
No response
Link to Sentry event
https://sentry-pri-nuxt.sentry.io/issues/32395492/events/8dfaac86dd084cc19ec6cea251cf4958/
Reproduction Example/SDK Setup
No response
Steps to Reproduce
yarn dev
to start the development environment.Expected Result
The 'environment' tag should be set to 'dev'/'development' instead of 'production'.
Actual Result
Currently I am seeing 'production'
The text was updated successfully, but these errors were encountered: