How can I visualize a histogram with Promdash or Grafana?

后端 未结 4 783
花落未央
花落未央 2021-02-05 02:42

I\'m attracted to prometheus by the histogram (and summaries) time-series, but I\'ve been unsuccessful to display a histogram in either promdash or grafana. What I expect is to

4条回答
  •  猫巷女王i
    2021-02-05 03:10

    Recent releases of Grafana have a builtin Heatmap visualization type, but use it sparingly as it can be very computationally expensive.

    One can achieve a histogram by selecting a Graph visualization then under Axes selecting Histogram for X-Axis>Mode.

    Here is an example with Grafana 7.03. Data collected by ceph_exporter into Prometheus. The metric is ceph_osd_utilization. The query uses a templated variable but that's orthogonal to this question.

    Screencap of histogram panel example

提交回复
热议问题