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 mistakes in doccomments in DotvvmMetrics, optimize exponential buckets #1702

Merged
merged 2 commits into from
Oct 1, 2023

Conversation

exyi
Copy link
Member

@exyi exyi commented Sep 27, 2023

The stupid prometheus-net library call the TryGetRecommendedBuckets function for every single datapoint...
I didn't want to cache the result arrays, as we'd have to undo that optimization when we add some configuration arguments to the TryGetRecommendedBuckets method. I also really needed to finally use The Float Trick :D

The stupid prometheus-net library call this function for
every single datapoint...

I didn't want to cache the result arrays, as we'd have to
undo that optimization when we add some configuration
arguments to the TryGetRecommendedBuckets method.
@tomasherceg tomasherceg merged commit 4231d99 into main Oct 1, 2023
14 checks passed
@tomasherceg tomasherceg deleted the metrics-fix-help branch October 1, 2023 10:35
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