-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[observability] Add SLI numbers to the Workspace Success Criteria Dashboard #10382
Conversation
@atduarte I'm not able to test this in the preview environment or prod (by loading the JSON). I must be doing something wrong! Can you share a Loom showing how you're loading the JSON? 🙏 @ArthurSens I tried testing this in the preview environment, but, I think |
@kylos101 updated how to test to be more clear. Easier way is just visiting https://grafana.gitpod.io/d/Qljo7br7z/success-criteria-temporary-10382 |
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.
Beautiful
The lack of a cluster label should not be a problem, because the filter says "anything that is different from ephemeral or meta" and empty fulfills this regex. You can confirm this by removing the cluster filter from the preview environment, it will keep showing "NO DATA". The problem here is that your query measures workspace stop failures, while not a single failure happened. You need to generate this data somehow 😅. Maybe by doing some load tests? |
I agree that performing load tests should be easier for preview environments... Maybe a feature request for our newest |
@ArthurSens I started and stopped workspaces many times - no data showed - even on the overview dashboard. I should have seen that at least 1 workspace was in the Running phase or seen an entry on the startup time heatmap, I think. |
But your query depends on a workspace to fail, not only to stop 😬 Stopping workspaces in a regular manner won't produce the data that you want |
@ArthurSens ignore the workspace success criteria dashboard for a moment in this PR. I mean in general, I was looking at the overview dashboard, to see the heatmap for start times, and count of workspaces by phase - and I didn't see any related data on the overview dashboard. If I start workspaces, should the overview dashboard show me stuff? |
Hmmm that is super awkward... Gitpod overview has always worked for me on previews, let me double check |
Yep, I could reproduce this problem on the preview from This problem is also happening in production/staging... not really a problem with preview environments, but with Gitpod itself 😬 |
Now this makes sense given our conversation from earlier, thank you so much, @ArthurSens ! 🙏 |
Description
Currently, only the timeseries is shown, but in order to evaluate whether we are following our SLOs the dashboard should present a number.
See this for an example.
Related Issue(s)
N/A
How to test
Load this json in Grafana by:
Or see https://grafana.gitpod.io/d/Qljo7br7z/success-criteria-temporary-10382
Release Notes
Documentation