Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scheduled Tasks Monitor triggering sporadically #19

Open
amenk opened this issue Jan 10, 2025 · 1 comment
Open

Scheduled Tasks Monitor triggering sporadically #19

amenk opened this issue Jan 10, 2025 · 1 comment

Comments

@amenk
Copy link
Contributor

amenk commented Jan 10, 2025

Question

We are using

frosh_sentry:
    report_scheduled_tasks: true

and receive quite some issues:

issue with monitors (swag_paypalpos: ... swag_paypalui, product_Export_gen...

There are no errors logs.

My working theory: The tasks just take a little bit longer than normal and don't check in in time?

Is there something like a grace period configurable? Or how to debug this?
Is anyone else experiencing this?

@amenk
Copy link
Contributor Author

amenk commented Jan 11, 2025

I think in

$monitorSchedule = MonitorSchedule::interval($interval, MonitorScheduleUnit::minute());

we should set checkinMargin (see https://docs.sentry.io/platforms/php/crons/#upserting-cron-monitors) and eventually maxRuntime ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant