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 latency SLO total query #54

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Fix latency SLO total query #54

merged 1 commit into from
Mar 22, 2023

Conversation

emschwartz
Copy link
Contributor

Summing the function_calls_duration_bucket gives the wrong result because each bucket is defined as less than or equal to the threshold, meaning values in the lower thresholds are also included in the higher thresholds. Instead, we need to use the function_calls_duration_count.

@emschwartz emschwartz merged commit d3e7bff into main Mar 22, 2023
@emschwartz emschwartz deleted the fix-latency-slo-query branch March 22, 2023 13:11
gagbo added a commit to autometrics-dev/autometrics-go that referenced this pull request Mar 23, 2023
gagbo added a commit to autometrics-dev/autometrics-go that referenced this pull request Mar 23, 2023
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.

None yet

2 participants