Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Alert on time between when Celery task is added to queue and completes > N #2486

Open
feoh opened this issue Jun 12, 2024 · 1 comment
Open

Comments

@feoh
Copy link
Contributor

feoh commented Jun 12, 2024

Description/Context

The idea is to alert when the queue is backed up.

Plan/Design

I don't honestly know what's involved here or whether or not celery-monitoring is a good candidate for this work.

@feoh feoh changed the title Alert on time between when task is added to queue and completes > N Alert on time between when Celery task is added to queue and completes > N Jun 12, 2024
@rhysyngsun
Copy link
Contributor

This issue on celery suggests adding the enqueued time to the request/headers: https://www.github.com/celery/celery/issues/5696

It's not implemented yet but there are some workaround solutions in the comments. If we setup that and then log the delta as the task completes that should let us graph/alert on it.

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

No branches or pull requests

2 participants