getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.83k stars 4.16k forks source link

Enable Seconds interval for Cron monitor schedules #71333

Open kpujjigit opened 4 months ago

kpujjigit commented 4 months ago

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

image

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

sl0thentr0py commented 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.

getsantry[bot] commented 4 months ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 4 months ago

Routing to @getsentry/product-owners-crons for triage ⏲️

gaprl commented 4 months ago

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.