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,
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',
intervalFactor: 1,
legendFormat: 'Kilobytes Sent',
legendFormat: 'Bytes sent',
refId: 'A',
step: 240,
},
],
thresholds: [],
timeRegions: [],
title: 'Current total kbytes sent',
title: 'Bytes sent',
tooltip: {
shared: true,
sort: 0,
@ -286,7 +286,7 @@ local graphPanel = grafana.graphPanel;
},
yaxes: [
{
format: 'deckbytes',
format: 'Bps',
logBase: 1,
show: true,
},
@ -357,7 +357,7 @@ local graphPanel = grafana.graphPanel;
],
thresholds: [],
timeRegions: [],
title: 'Current total apache accesses',
title: 'Apache accesses',
tooltip: {
shared: true,
sort: 0,
@ -371,7 +371,7 @@ local graphPanel = grafana.graphPanel;
},
yaxes: [
{
format: 'short',
format: 'reqps',
logBase: 1,
show: true,
},