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

deps: update histogram, metriken, and ringlog #129

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

mihirn
Copy link
Contributor

@mihirn mihirn commented Jun 12, 2024

Update dependencies to move towards a single version
of histogram (0.11.0) and metriken (0.7.0). This is
a breaking change in the interface of calls to percentile
functions, which can now return null when the histogram
is empty.

The metrics functions call the percentiles and publish
them using an iterator over them. Rather than changing
the interface of the wrapper function to returning null
when the histogram is empty, it returns an empty vector
to metrics callers, which prevents them from publishing
percentile metrics.

Update dependencies to move towards a single version
of histogram (0.11.0) and metriken (0.7.0). This is
a breaking change in the interface of calls to percentile
functions, which can now return null when the histogram
is empty.

The metrics functions call the percentiles and publish
them using an iterator over them. Rather than changing
the interface of the wrapper function to returning null
when the histogram is empty, it returns an empty vector
to metrics callers, which prevents them from publishing
percentile metrics.
@mihirn mihirn requested a review from brayniac June 12, 2024 16:51
@mihirn mihirn merged commit d4ac78c into pelikan-io:main Jun 12, 2024
21 checks passed
@mihirn mihirn deleted the msn/metriken branch June 12, 2024 17:51
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