Skip to content

Support for native histograms #1480

Closed
Closed

Description

@muff1nman

It would be nice if cloudprober could export native histograms natively for the following reasons:

  • Better resolution in data
  • Space savings in prometheus deployments
  • More efficient scrapes

Activity

  1. added
    enhancement
    on Sep 11, 2026
  2. manugarg commented on Sep 28, 2026

    @manugarg
    Contributor

    Hi @muff1nman,

    I am looking at adding the native histogram support. In the meantime, I wanted to make sure you're aware of the convert_classic_histograms_to_nhcb option to get the storage benefits at least:

    scrape_configs:
      - job_name: cloudprober
        convert_classic_histograms_to_nhcb: true
        static_configs:
          - targets: ["cloudprober:9313"]
    

    Each cloudprober distribution (e.g. latency) is then stored as a single native histogram series instead of one series per le bucket plus _sum/_count. If you need to keep the classic series during a migration, set always_scrape_classic_histograms: true as well.

  3. self-assigned this
    on Sep 28, 2026
  4. manugarg commented on Oct 4, 2026

    @manugarg
    Contributor

    @muff1nman I've added native histogram support (see PRs above). Docs: https://cloudprober.org/docs/how-to/percentiles/#native-histograms

    It has not been released yet, but you can give it a try.

  5. added this to the v0.14.7 milestone on Oct 4, 2026
  6. manugarg commented on Nov 3, 2026

    @manugarg
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions