Skip to content
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

Fix the display of the "Errors" panel in the SLO detail dashboard #1022

Merged

Conversation

LukeDAtkinson
Copy link

This panel actually shows the rate of errors occurring but is configured to display this as percentunit. This results in it showing a 200% error rate when there are actually 2 errors occurring per second. Change the unit for this panel to reqps instead.

@LukeDAtkinson
Copy link
Author

Alternatively, if we do want to show the actual percentage error rate, we could change the query for the panel to

sum(rate(pyrra_errors_total{slo="$slo"}[$__rate_interval]))/sum(rate(pyrra_requests_total{slo="$slo"}[$__rate_interval]))

This panel actually shows the rate of errors occurring but is configured
to display this as percentunit. This results in it showing a 200% error
rate when there are actually 2 errors occurring per second. Change the
unit for this panel to reqps instead.
@LukeDAtkinson LukeDAtkinson force-pushed the fix-grafana-dashboard-errors-panel branch from cc09451 to 2d03a49 Compare January 15, 2024 15:53
Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thank you!

@metalmatze metalmatze merged commit 174b026 into pyrra-dev:main Feb 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants