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

Add metrics to the job queue #3678

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Add metrics to the job queue #3678

merged 1 commit into from
Dec 16, 2024

Conversation

sandhose
Copy link
Member

This adds:

  • a histogram of the time it takes to process a job for each queue,
    with the status of the job (success, failure, etc.)
  • a histogram which records the time it takes to do a "tick", fetch jobs
  • a counter of the number of jobs currently in-flight for each queue
  • a counter which tracks the reasons why the worker got worken up

This adds:

 - a histogram of the time it takes to process a job for each queue,
   with the status of the job (success, failure, etc.)
 - a histogram which records the time it takes to do a "tick", fetch jobs
 - a counter of the number of jobs currently in-flight for each queue
 - a counter which tracks the reasons why the worker got worken up
@sandhose sandhose added the A-Jobs Related to asynchronous jobs label Dec 13, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 13, 2024

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7000e2b
Status: ✅  Deploy successful!
Preview URL: https://12135105.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-new-queue-metrics.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose requested a review from reivilibre December 13, 2024 15:06
@sandhose sandhose merged commit c6e85ed into main Dec 16, 2024
19 checks passed
@sandhose sandhose deleted the quenting/new-queue/metrics branch December 16, 2024 13:57
@sandhose sandhose added the T-Enhancement New feature of request label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Jobs Related to asynchronous jobs T-Enhancement New feature of request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants