#Using Histograms with Harvest

1 messages · Page 1 of 1 (latest)

winged knoll
#

So I am working on getting a few more stats added to the zapiperf collections. A few of them are *_hist. When harvest starts collecting them, they get flattened so that each bucket of the histogram becomes an individual metric with a unique label like metric="<600us". This does not follow the typical Prometheus histogram format, which means you can't use the histogram_quantile function. https://prometheus.io/docs/concepts/metric_types/#histogram

Is there a way to make these more like a Prometheus histogram, or is there a way to use histograms that come from harvest in Prometheus?

warm crow
#

hi @winged knoll can you open an issue on GitHub with this request. If you have an example of what you'd like instead of flattening that would be helpful too. We'll take a look at the Prom histogram