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.
@@ -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' },
})
)
)
