Add pickup and duration time metrics for processed jobs#4312
Merged
Conversation
9668b40 to
6a6bb42
Compare
This change adds a new delayed job plugin which generates the following metrics after a cc-worker processed a job. - cc_job_pickup_delay_seconds: the difference of `run_at` and `locked_at` - cc_job_duration_seconds: Time difference of `locked_at` and current time. Both metrics are labeled with the name of the worker and the queue of the job to allow further aggregation etc.
919d9a4 to
1523372
Compare
1523372 to
cf47949
Compare
06e47a5 to
92ca505
Compare
92ca505 to
aece723
Compare
jochenehret
approved these changes
Apr 24, 2025
ari-wg-gitbot
added a commit
to cloudfoundry/capi-release
that referenced
this pull request
Apr 25, 2025
Changes in cloud_controller_ng:
- Add pickup and duration time metrics for processed jobs
PR: cloudfoundry/cloud_controller_ng#4312
Author: Johannes Haass <johannes.haass@sap.com>
sethboyles
pushed a commit
that referenced
this pull request
May 5, 2025
johha
added a commit
to sap-contributions/docs-running-cf
that referenced
this pull request
Jun 13, 2025
Contributor
Author
|
Docs PR: cloudfoundry/docs-running-cf#137 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change adds a new delayed job plugin which generates the following metrics after a cc-worker processed a job.
cc_job_pickup_delay_seconds: the difference ofrun_atandlocked_atcc_job_duration_seconds: Time difference oflocked_atand current time.Both metrics are labeled with the name of the worker and the queue of the job to allow further aggregation etc.
I have reviewed the contributing guide
I have viewed, signed, and submitted the Contributor License Agreement
I have made this pull request to the
mainbranchI have run all the unit tests using
bundle exec rakeI have run CF Acceptance Tests