Skip to content

SentryMonitor Improvements #192

@calebsyring

Description

@calebsyring

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)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions