Closed AbhiPrasad closed 1 year ago
No sessions in PHP yet, environment defaults to production
.
No sessions in Go yet, environment defaults to os.Getenv("SENTRY_ENVIRONMENT")
ruby defaults to development, so will have to change https://github.com/getsentry/sentry-ruby/blob/dc7b0c6d0de1f9c470a33df85c96e3dd54209a02/sentry-ruby/lib/sentry/configuration.rb#L479
See: https://github.com/getsentry/team-mobile/issues/73
The default value for the environment in the options should be
production
. If the user sets anenvironment
, it precedes the default value. Sessions, transactions, events, etc., should all read the environment from the options. The SDK can set other default values if it detects different modes, such asdebug
ortest
.In addition, sessions should use the same environment as what was configured by the user (falling back to the default
production
).This issue is to track to make sure
production
)