# Visualizing a prometheus histogram

**URL:** https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669
**Category:** Kibana
**Created:** [January 30, 2018, 5:00pm UTC](https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669 "2018-01-30T17:00:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gkle](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@gkle](https://discuss.elastic.co/u/gkle)
#### Post date: [January 30, 2018, 5:00pm UTC](https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669/1 "2018-01-30T17:00:04Z")

</div>

Hi,

I'm receiving through metricbeat and prometheus a snapshot of a histogram. The document looks like this :  
{  
...  
histBar1 : value1,  
histBar2 : value2,  
...  
histBarN : valueN  
}

I'd like create a vertical bar vizualization with the max of each bar displayed for the selected period of time. in other words draw the histogram as it is received.  
This seems like a simple task but i don't seem to be able to do it...

Please help...

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [January 31, 2018, 3:47am UTC](https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669/2 "2018-01-31T03:47:52Z")

</div>

I am not aware of any way to accomplish this. Most visualizations are an aggregation of the data, not a visualization of a histogram within the data. Does ES contain the raw data to create the histogram in Kibana instead of trying to represent a histogram of the data?

---

<div class="post-metadata">

### Author: ![gkle](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@gkle](https://discuss.elastic.co/u/gkle)
#### Post date: [January 31, 2018, 8:51am UTC](https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669/3 "2018-01-31T08:51:32Z")

</div>

That's what i was afraid of. No the data is presented like that out of prometheus and polled by metricbeat.

I will try to see if the polling nature of metric beat is compatible with timestamped gauges but i doubt that.

Thx anyway

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 28, 2018, 8:51am UTC](https://discuss.elastic.co/t/visualizing-a-prometheus-histogram/117669/4 "2018-02-28T08:51:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
