From 400d50eb7ece1a131f15ebb17571ce7541259b5e Mon Sep 17 00:00:00 2001 From: Arunprasad Rajkumar Date: Tue, 8 Nov 2022 19:09:14 +0530 Subject: [PATCH] Add unit for uptime column in Prometheus stats dashboard Prior to this fix uptime column interpreted as number and the higher values are suffixed with raw units like `K`. This commit adds unit for the column as `second` to make visual interpretation easy. Signed-off-by: Arunprasad Rajkumar --- documentation/prometheus-mixin/dashboards.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/prometheus-mixin/dashboards.libsonnet b/documentation/prometheus-mixin/dashboards.libsonnet index b95f13e0a0..f9858a94b3 100644 --- a/documentation/prometheus-mixin/dashboards.libsonnet +++ b/documentation/prometheus-mixin/dashboards.libsonnet @@ -27,7 +27,7 @@ local template = grafana.template; instance: { alias: 'Instance' }, version: { alias: 'Version' }, 'Value #A': { alias: 'Count', type: 'hidden' }, - 'Value #B': { alias: 'Uptime' }, + 'Value #B': { alias: 'Uptime', type: 'number', unit: 's' }, }) ) )