From 20dfb3e94f7a7edbc62fa667102729ac24d131ef Mon Sep 17 00:00:00 2001 From: Vitaly Zhuravlev Date: Wed, 11 May 2022 15:30:58 +0400 Subject: [PATCH] Fix uptime panel Change calculation to lastNotNull instead of mean to show the latest instead of average over interval --- .../apache-http-mixin/dashboards/apache-exporter-full.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet index 54975bc..7b821d1 100644 --- a/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet +++ b/prometheus/apache-http-mixin/dashboards/apache-exporter-full.libsonnet @@ -107,7 +107,7 @@ local graphPanel = grafana.graphPanel; orientation: 'horizontal', reduceOptions: { calcs: [ - 'mean', + 'lastNotNull', ], fields: '', values: false,