-
Notifications
You must be signed in to change notification settings - Fork 113
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
Issue when showing some SLOs (white screen) #1130
Comments
I'm experiencing the exact same issue with a latency slo EDIT: Never mind, in my case I used an incorrect metric (also used a EDIT2: Actually this is still an issue, I just experienced it again for another metric |
I'm retrieving the exact same error in the browser console:
The SLO I used: apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
labels:
pyrra.dev/app: tempo
name: tempo-reads-errors-test
namespace: default
spec:
alerting:
absent: true
burnrates: true
description: Reading traces from Tempo API endpoints should answer queries 99% successfully
over 2w.
indicator:
ratio:
errors:
metric: tempo_request_duration_seconds_count{cluster=~"tempo", job=~"default/query-frontend",
route=~"api_.*", status_code=~"5.*"}
total:
metric: tempo_request_duration_seconds_count{cluster=~"tempo", job=~"default/query-frontend",
route=~"api_.*"}
target: "99.5"
window: 2w |
@metalmatze I added a debug log and it looks like in my case
Any idea how to fix this? The SLO is displayed correctly in Grafana EDIT: Now about 45 minutes later I no longer get the error, I did not change anything. So it looks like an intermittent error that we should somehow catch |
Hi, looks like I ran into this as well. In my troubleshooting it seemed related to an empty response for a burnrate metric query. In my case pyrra was querying for
However this gave an empty response as the istio_request_duration_milliseconds:burnrate12d recording rule metric didn't have For the time being I'm working around it by inverting the slo definition like |
Hello Everyone
I've found a possible bug or issue when displaying some SLOs. When I navigate from the SLO list to the details page or when I check the details of a multiburn alert, I get a white screen:
The javascript error is the following:
The SLO that generates the error is the following:
I locally launched the UI (master branch) against my deployed pyrra server and encountered the same issue.
I'm running Pyrra v0.7.4
Do you have any idea why is this happening or how can I help to debug this issue?
Thank you, I really enjoy the work everyone is doing with Pyrra 😄
The text was updated successfully, but these errors were encountered: