Hello,
I am trying to represent the histogram data using Histogram or heatmap, somehow the visualization is not depicting the details and to be honest it’s confusing.
Metrics are in this format
controller_runtime_reconcile_time_seconds_bucket{controller="controller",le="0.01"}
...```
Query used is this
```group by (le, controller) (rate(controller_runtime_reconcile_time_seconds_bucket[$__rate_interval])```
I chose Heatmap as the panel type and also opted for `Format: Heatmap` and `Type: Range` in the options.
Do you suggest any other changes / configuration which needs to be done or should I explore panel like historgram? So far things I tried with histogram panel didnt cone out well.
How do you interpret those visuals, its so confusing .
With the images shown , how is it possible to interpret how many entries were there in which bucket?
The colors indicate the “count”. purple in your case means “2” (but its weird that the legend shows values up to 1200 that I’m not seeing in the chart itself)
controller_runtime_reconcile_time_seconds_bucket{controller="pxc-controller",le="1.5"} 8793```
It's easy to depict that reconcile taken between 1.25 to 1.5 seconds were 8793-3688.
I am not sure how can I derive that value in the graph
You have 3688 requests taking less tha 1.25 seconds and you have 8793 requests taking less than 1.5 seconds. That means you have 5105 requests taking between 1.25 and 1.5 seconds
Hi First of all , thank you for taking your time on weekend to help , I really appreciate it
Yes I was wondering if there is a easy way to see 5105 in the graph panel.
When I used the heatmap.
It was just not giving the right visuals
Ah, and I just noticed: why do you group by le AND controller? You should only group by le for a heatmap (X is time, Y is le, color is count – you cannot display a fourth dimension)
I’m afraid that won’t sensibly be possible. You can add a dashboard variable to switch between controllers, but you can’t display them in a single panel at the same time