Change rate panels to Bps and reqps

Due to Prometheus rate() calcs per second avg rate, changed to 'per second' units.
This commit is contained in:
Vitaly Zhuravlev 2022-05-11 16:19:58 +04:00
parent 47f3624751
commit fcb39cfa04

View file

@ -262,17 +262,17 @@ local graphPanel = grafana.graphPanel;
steppedLine: false, steppedLine: false,
targets: [ targets: [
{ {
expr: 'rate(apache_sent_kilobytes_total{instance=~"$instance"}[$__rate_interval])', expr: 'rate(apache_sent_kilobytes_total{instance=~"$instance"}[$__rate_interval]) * 1000',
format: 'time_series', format: 'time_series',
intervalFactor: 1, intervalFactor: 1,
legendFormat: 'Kilobytes Sent', legendFormat: 'Bytes sent',
refId: 'A', refId: 'A',
step: 240, step: 240,
}, },
], ],
thresholds: [], thresholds: [],
timeRegions: [], timeRegions: [],
title: 'Current total kbytes sent', title: 'Bytes sent',
tooltip: { tooltip: {
shared: true, shared: true,
sort: 0, sort: 0,
@ -286,7 +286,7 @@ local graphPanel = grafana.graphPanel;
}, },
yaxes: [ yaxes: [
{ {
format: 'deckbytes', format: 'Bps',
logBase: 1, logBase: 1,
show: true, show: true,
}, },
@ -357,7 +357,7 @@ local graphPanel = grafana.graphPanel;
], ],
thresholds: [], thresholds: [],
timeRegions: [], timeRegions: [],
title: 'Current total apache accesses', title: 'Apache accesses',
tooltip: { tooltip: {
shared: true, shared: true,
sort: 0, sort: 0,
@ -371,7 +371,7 @@ local graphPanel = grafana.graphPanel;
}, },
yaxes: [ yaxes: [
{ {
format: 'short', format: 'reqps',
logBase: 1, logBase: 1,
show: true, show: true,
}, },