getsentry / getsentry/sentry

Enable Seconds interval for Cron monitor schedules

Open
#71,333 4 comments 0 reactions 0 assignees View on GitHub
Improvement Product Area: Crons
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### 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](https://github.com/getsentry/sentry-python/assets/103009467/177cb30a-a030-40b7-b5b6-1a2894caad3c)

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.