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

Flatten the buckets of native histograms #59

Merged
merged 1 commit into from Jul 19, 2022
Merged

Commits on Jul 14, 2022

  1. Flatten the buckets of native histograms

    This is slightly more efficient on the wire, and it matches the way
    the corresponding Go types are structured (`histogram.Histogram` and
    `histogram.FloatHistogram`). This follow the change for the
    remote-write protobuf in
    prometheus/prometheus#11011 .
    
    This commit also moves away from the "sparse histogram" naming in lieu
    of the preferred name "native histogram".
    
    Note that this is deliberately an incompatible change of the proto
    spec. Keeping compatibility would cause some hassle but not much gain
    because we haven't published the proto spec in any release yet and
    always marked it as experimental. Compatibility to the released proto
    spec (without native histograms) is kept, of course.
    
    Signed-off-by: beorn7 <beorn@grafana.com>
    beorn7 committed Jul 14, 2022
    Copy the full SHA
    a7ff713 View commit details
    Browse the repository at this point in the history