Open kpujjigit opened 4 months ago
moving this to sentry since this is a product request, will let the Crons team decide what to do with this issue.
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-crons for triage ⏲️
Hey @kpujjigit, Crons currently does not allow sub-minute schedules. I've added this issue to our backlog, we'll consider its feasibility in the future.
Problem Statement
Clients have requested being able to select 30seconds as a schedule interval when setting up Cron monitors.
https://github.com/getsentry/sentry-python/blob/b922f40ad9cff1f97286030f71a22e0000e9b4e2/sentry_sdk/_types.py#L198C10-L198C16
Solution Brainstorm
Change config scheduler datatype to a non-int type to handle seconds.
https://github.com/getsentry/sentry-python/blob/b922f40ad9cff1f97286030f71a22e0000e9b4e2/sentry_sdk/_types.py#L205