Title: Add upsert capability for Crons · Issue #2925 · getsentry/sentry-python · GitHub
Open Graph Title: Add upsert capability for Crons · Issue #2925 · getsentry/sentry-python
X Title: Add upsert capability for Crons · Issue #2925 · getsentry/sentry-python
Description: Problem Statement Currently, the Python SDK does not support upserting monitors. Given it allows customers to provide the monitor configuration in-code, it can be helpful for organizations, especially if they have a lot of monitors to cr...
Open Graph Description: Problem Statement Currently, the Python SDK does not support upserting monitors. Given it allows customers to provide the monitor configuration in-code, it can be helpful for organizations, especia...
X Description: Problem Statement Currently, the Python SDK does not support upserting monitors. Given it allows customers to provide the monitor configuration in-code, it can be helpful for organizations, especia...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/2925
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add upsert capability for Crons","articleBody":"### Problem Statement\n\nCurrently, the Python SDK does not support upserting monitors. Given it allows customers to provide the monitor configuration in-code, it can be helpful for organizations, especially if they have a lot of monitors to create/manage.\r\n\r\n[Here's an example of our upsert for our Node.JS SDK.](https://docs.sentry.io/platforms/node/crons/#upserting-cron-monitors)\n\n### Solution Brainstorm\n\nBe able to provide the following config in the `@monitor` decorator:\r\n\r\n```\r\n{\r\n schedule: {\r\n type: \"crontab\",\r\n value: \"* * * * *\",\r\n },\r\n checkinMargin: 2, // In minutes. Optional.\r\n maxRuntime: 10, // In minutes. Optional.\r\n timezone: \"America/Los_Angeles\", // Optional.\r\n failure_issue_threshold: 1, // Optional\r\n recovery_threshold: 1, // Optional\r\n};\r\n```","author":{"url":"https://github.com/gaprl","@type":"Person","name":"gaprl"},"datePublished":"2024-04-01T17:56:10Z","url":"https://github.com/getsentry/sentry-python/issues/2925"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:632c5389-f642-55c6-9a3d-f353fde4463b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D104:1B6314:33E430:458C3B:6B009FAA |
| html-safe-nonce | 5425349be85874fdab8a541bd18dcfd99f5a43ee9e66f10facd5d405ca579795 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTA0OjFCNjMxNDozM0U0MzA6NDU4QzNCOjZCMDA5RkFBIiwidmlzaXRvcl9pZCI6Ijc2ODM2MzI1NzIzNDA5MzY2MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 188d5b9ffc0003cd171faa0e82055d94ec4b131ffad90cd99bf564811933ce3c |
| hovercard-subject-tag | issue:2218758700 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/2925/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c532dbdc5d65300e56d1f8ace0f3c2f609cd86402c90ccfe6efec76ecd6ab6fb/getsentry/sentry-python/issues/2925 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c532dbdc5d65300e56d1f8ace0f3c2f609cd86402c90ccfe6efec76ecd6ab6fb/getsentry/sentry-python/issues/2925 |
| og:image:alt | Problem Statement Currently, the Python SDK does not support upserting monitors. Given it allows customers to provide the monitor configuration in-code, it can be helpful for organizations, especia... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gaprl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width