From fcb39cfa048f853f2525b717a042e853ebda98a5 Mon Sep 17 00:00:00 2001 From: Vitaly Zhuravlev Date: Wed, 11 May 2022 16:19:58 +0400 Subject: [PATCH] Change rate panels to Bps and reqps Due to Prometheus rate() calcs per second avg rate, changed to 'per second' units. --- .../dashboards/apache-exporter-full.libsonnet | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet index e7e5056..03f3927 100644 --- a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet +++ b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet @@ -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, },