SentryMonitor.__init__ requires an env argument while SentryMonitor.apply_config assumes env from the SENTRY_ENVIRONMENT in the app config. That behavior is inconsistent. If there's no reason for it, let's just make __init__ get env from the app config as well.
It's also annoying to have to pass the org argument in everywhere. Can we make that default to an app config variable (if not force it to come from one, like SENTRY_ENVIRONMENT)?
SentryMonitor.__init__requires anenvargument whileSentryMonitor.apply_configassumesenvfrom theSENTRY_ENVIRONMENTin the app config. That behavior is inconsistent. If there's no reason for it, let's just make__init__getenvfrom the app config as well.It's also annoying to have to pass the
orgargument in everywhere. Can we make that default to an app config variable (if not force it to come from one, likeSENTRY_ENVIRONMENT)?