Fix uptime panel

Change calculation to lastNotNull instead of mean to show the latest instead of average over interval
This commit is contained in:
Vitaly Zhuravlev 2022-05-11 15:30:58 +04:00
parent 6df0b6aafd
commit 20dfb3e94f

View file

@ -107,7 +107,7 @@ local graphPanel = grafana.graphPanel;
orientation: 'horizontal',
reduceOptions: {
calcs: [
'mean',
'lastNotNull',
],
fields: '',
values: false,