sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Enable Seconds interval for Cron monitor schedules

Open kpujjigit opened this issue 1 year ago • 4 comments

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

kpujjigit avatar May 21 '24 16:05 kpujjigit

moving this to sentry since this is a product request, will let the Crons team decide what to do with this issue.

sl0thentr0py avatar May 22 '24 14:05 sl0thentr0py

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar May 22 '24 14:05 getsantry[bot]

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

getsantry[bot] avatar May 22 '24 14:05 getsantry[bot]

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.

gaprl avatar May 22 '24 16:05 gaprl