-
Notifications
You must be signed in to change notification settings - Fork 2k
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
nomad: add job status metrics #6003
Conversation
2097dc6
to
a188f06
Compare
@langmartin This is another PR from us at CircleCI we're hoping to upstream, if you have time to review. 🙂 |
This avoids having to write services to repeatedly hit the jobs API
a188f06
to
d07ea34
Compare
Hi folks! Any feedback here would be welcome. I think a number of your customers suffer this (#4036 (comment)) issue, and have seen an issue (#4036) for it and related rotted PR (#4831). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the delay reviewing this, it should be ok to merge in 0.10! Just the one question. Thanks for updating the docs!
Thanks! 🎉 |
@langmartin @schmichael Do I need to get a second reviewer to move this PR along? |
Thanks for the reminder @pete-woods! Merged! |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Currently the only way to get metrics about the number of running jobs in a nomad cluster is to scrape the jobs API repeatedly.
This means having extra components that need further monitoring and maintenance.
The job summary metrics don't provide the information we need, being related to allocations, rather than current state.