You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
SELECT my_date_field as Time , status, COUNT(*) as Value FROM my_table where LAST_LOAD_TIME>'$__timeFrom(yyyy-MM-dd)' GROUP BY 1,2 LIMIT 100
This returns the following:
Time | status| Value
2020-07-07 11:34:20 | up | 1
2020-07-07 11:34:20 | down | 2
This table cannot be used directly in Graph panel however if we could turn the status column value into a column name using something like a pivot the graph panel would work. I tested in pure SQL and it works but its very annoying to write.