-
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
Successfully started workspaces ratio #12852
Conversation
Signed-off-by: Sergii Kabashniuk <[email protected]>
Signed-off-by: Sergii Kabashniuk <[email protected]>
Signed-off-by: Sergii Kabashniuk <[email protected]>
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.
LGTM
...-core-api-metrics/src/main/java/org/eclipse/che/api/metrics/WorkspaceStartedMeterBinder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sergii Kabashniuk <[email protected]>
ci-test |
...api-metrics/src/main/java/org/eclipse/che/api/metrics/WorkspaceStartAttemptsMeterBinder.java
Outdated
Show resolved
Hide resolved
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.
Would be very helpful to explain in the PR description not only what is done but actually why it is done. It is not obvious that counters needed for the evaluation of rates. Adding this info into a PR would simplify PR review and you would get less questions and faster reviews. Thanks!
Signed-off-by: Sergii Kabashniuk <[email protected]>
@metlos you were right with zero division and NaN values. I've changed a bit a concept of a graph.
Also, there are some changes in the graph.
|
…metric Signed-off-by: Sergii Kabashniuk <[email protected]>
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
ci-test |
The only question I have is about the new |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
@skabashnyuk great job! |
Are there any documentation planed for that PR? |
ci-test |
Not exactly. che_workspace_starting_attempts_total=Success+Fail+Starting
I was planning to do that as part of this #12543 issue |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
What does this PR do?
The idea behind the scene is to provide some metric for end users/admins that will show how successful Che master is able to start workspaces in some particular point of time. This metric should be related to the total number of workspace what was starting in that period of time.
Add Prometheus metrics:
And Grafana panel
![Знімок екрана о 13 56 31](https://user-images.githubusercontent.com/1614429/54122371-83e72680-4405-11e9-88f0-cd4ce081a3ee.png)
What issues does this PR fix or reference?
Fixes #12723
Release Notes
n/a
Docs PR
n/a