Skip to content

feat(crons): Add owner field to MonitorConfig#5610

Open
julwhitney13 wants to merge 1 commit intogetsentry:masterfrom
julwhitney13:issue-5609-create-monitor-owner
Open

feat(crons): Add owner field to MonitorConfig#5610
julwhitney13 wants to merge 1 commit intogetsentry:masterfrom
julwhitney13:issue-5609-create-monitor-owner

Conversation

@julwhitney13
Copy link

@julwhitney13 julwhitney13 commented Mar 6, 2026

Summary

Adds support for the owner field in MonitorConfig to enable monitor ownership assignment to teams or users. This allows developers to organize and route cron monitors within their organization without needing to use the Sentry REST API separately.

Description

  • Adds owner field (optional, format: "team:6" or "user:51") to MonitorConfig TypedDict
  • Adds test verifying owner field is properly serialized in check-in payload
  • Related PRs in sentry-docs:
    • Update Python crons documentation with owner field examples
    • Update Celery crons documentation with owner field example

Issues

Reminders

Support assigning monitor ownership to teams or users via the `owner` field
in monitor_config. Format: "team:6" or "user:51".

Refs getsentry#5609
@julwhitney13 julwhitney13 requested a review from a team as a code owner March 6, 2026 16:35
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (crons) Add owner field to MonitorConfig by julwhitney13 in #5610

Bug Fixes 🐛

  • (celery) Propagate user-set headers by sentrivana in #5581
  • (utils) Avoid double serialization of strings in safe_serialize by ericapisani in #5587

Documentation 📚

  • (openai-agents) Remove inapplicable comment by alexander-alderman-webb in #5495
  • Add AGENTS.md by sentrivana in #5579
  • Add set_attribute example to changelog by sentrivana in #5578

Internal Changes 🔧

  • (openai-agents) Expect namespace tool field for new openai versions by alexander-alderman-webb in #5599

🤖 This preview updates automatically when you update the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support team assignment for cron monitors via SDK

1 participant