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

Use OpenTelemetry histogram buckets #52

Merged
merged 3 commits into from
Mar 21, 2023
Merged

Use OpenTelemetry histogram buckets #52

merged 3 commits into from
Mar 21, 2023

Conversation

emschwartz
Copy link
Contributor

@emschwartz emschwartz commented Mar 20, 2023

The Objective feature is currently broken only when using the prometheus feature flag and one of the following ObjectiveLatency: Ms150, Ms200, Ms350. This is because the prometheus crate uses different buckets that do not include these values, and that crate has a different way of configuring the buckets. As a result, the SLO feature will not work when using one of those three latency targets.

This PR switches from the previous buckets to using the default values from the OpenTelemetry specification.

While it is technically a breaking change to the autometrics API, we might want to release this as v0.3.1 and yank v0.3.0.

@emschwartz emschwartz requested a review from hatchan March 20, 2023 15:29
@emschwartz emschwartz merged commit fdefc76 into main Mar 21, 2023
@emschwartz emschwartz deleted the otel-buckets branch March 21, 2023 11:28
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