Hi,
I am using string Time Series to store machine state data (On/Off, Idle/Heating/Cooling) and want to be able to perform aggregations on these data via the API (specifically in Grafana). Obviously aggregations such as “sum” or “min/max” may not apply, but it would be great to perform aggregations for metrics like a count of how many times the machine entered each state over X time (e.g., cooling 5 times, heating 2 times), or what was the total time spent in each state over X time (e.g., cooling 3 hours, heating 5 minutes). There are probably other scenarios I haven’t described here as well.
Thanks!