-
Notifications
You must be signed in to change notification settings - Fork 1.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
[ws-man-bridge] Add started and completed metrics to track health #9422
Conversation
3110629
to
b0d0db3
Compare
109d197
to
b3e0584
Compare
/werft run 👍 started the job as gitpod-build-mp-wsman-update-metrics.7 |
BTW: If a PR seems otherwise ready, but still has a "hold" label, I tend to be slightly put off to just start reviewing it. |
I want to land them myself, so that I'm in control of the order of PRs going in and can ensure I know what has landed and what hasn't. It's a personal workflow. I tried to change it such that hold is on PRs by default but didn't get consensus as it seems it'd interfere with workflows of others. IMO, we'll need to move this down the line in particular with stacked PRs as it's unlikely others will have the right context to know when exactly changes should land. In particular with feature flags, there may be some additional validation the author may want to do ahead of landing the change (ensure prod is disabled in the feature, for example). This in general goes back to putting more responsiblity on the author of the PR, and less on the reviewer - trust by default. |
/unhold |
/hold |
Thanks @geropl, will investigate. Sorry about that, preview looks to be broken more often than not.. |
b3e0584
to
9074f67
Compare
/werft run with-vm=true 👍 started the job as gitpod-build-mp-wsman-update-metrics.9 @easyCZ Got the same error, and just made very good experience with |
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.
After minutes of image pull I was able to use my workspace 😌
Thanks @geropl! |
/unhold |
Description
Introduce metrics for when an update is received, and when an update is finished processing. The combination of these gives us something like and measurements for the system. This allows us to construct graphs where we can clearly see the following:
It's important to note these are seperate metrics, and should be. Sometimes a system doesn't output anything (due to error) and only reporting metrics on output would prevent us from capturing this case.
This PR also introduces a sub-method which does most of the existing logic, the original method is used to wrap the private one with metircs.
Related Issue(s)
How to test
Release Notes
Documentation
NONE
/hold