Skip to content

Conversation

@newffy
Copy link
Contributor

@newffy newffy commented Mar 17, 2020

Near all usages of CountAtBucket.bucket() are made from double context. This allows to make HistogramSnapshot objects for histograms with double bucket boundaries

jkschneider pushed a commit that referenced this pull request Mar 17, 2020
@jkschneider jkschneider added this to the 1.4.0 milestone Mar 17, 2020
@jkschneider
Copy link
Contributor

Merged with 3da05bb.

@jkschneider jkschneider changed the title Allowing CountAtBucket to store doubles Histogram buckets are defined as doubles now. Mar 17, 2020
@jkschneider jkschneider changed the title Histogram buckets are defined as doubles now. Histogram buckets are defined as doubles rather than longs. Mar 17, 2020
@jkschneider
Copy link
Contributor

This change precedes additions for VictoriaMetrics sparsely populated histograms, and also better supports DistributionSummary whose base unit may not always be an integral value (e.g. temperature).

Further context around this change here: https://micrometer-metrics.slack.com/archives/C662HUJC9/p1584048617111800

@shakuzen shakuzen changed the title Histogram buckets are defined as doubles rather than longs. Allow histogram buckets defined as doubles Mar 18, 2020
@shakuzen shakuzen added the enhancement A general enhancement label Mar 18, 2020
@shakuzen shakuzen changed the title Allow histogram buckets defined as doubles Allow histogram buckets to be defined as doubles Mar 18, 2020
snicoll added a commit to snicoll/spring-boot that referenced this pull request Apr 6, 2020
snicoll added a commit to spring-projects/spring-boot that referenced this pull request Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants