systemd 在 Prometheus+Node Exporter+Grafana 可视化求助。 中发帖
Node Exporter 有一个 metric 是 node_network_transmit_bytes_total,它是一个 counter 类型。
我想在 Grafana 中创建一个直方图,展示每个整小时内,发送了多少数据。
举个例子,这个 counter 的原始数据可能是每 60 秒采集一次的
Timestamp
Value
00:00:00
100
00:01:00
200
…
…
08:59:00
53900
09:30:00
57000
我希望能用直方图,展示出每个小时的差值
Bucket
Delta
00:00:00-01:00:00
6000
01:00:00-02:00:00
6000
…
…
08:00:00-09:00:00
6000
09:00:00-10:00:00
3000(因为这...