Grafana

Queries

Presence with stacking

Metrics : SELECT mode("value") FROM /group.*_present/ WHERE $timeFilter GROUP BY time($__interval) fill(previous)

Alias by : $1

Axes : left, short, linear

Display : lines, stack