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
{{ message }}
Repository navigation
Support team assignment for cron monitors via SDK #5609
When creating cron monitors via sentry_monitor(), there's no way to assign the monitor to a team. Currently, team ownership must be set manually through the Sentry UI or via a separate API call after the monitor is created.
Solution Brainstorm
Add support for team assignment in the MonitorConfig TypedDict so monitors can be assigned to teams programmatically:
with sentry_monitor(
monitor_slug="my-cron-job",
monitor_config=monitor_config
):
execute_job()
For teams managing a lot of cron jobs (and multiple teams that all own different cron jobs) auto-assigning monitors to the right team during creation improves:
Discoverability (team members see their jobs automatically)
Activity
linear-code commentedon Mar 6, 2026
PY-2126
feat(crons): Add owner field to MonitorConfig
docs(python): Add owner field examples to crons documentation
ericapisani commentedon Mar 9, 2026
Hi @julwhitney13 ,
Thanks for opening an issue with us and for the pull requests! We'll take a look at these as soon as we can.
feat(crons): Add owner field to MonitorConfig (#5610)