Hi Grafana Community!
I am running Grafana in docker (latest) on Ubuntu 16.04 on a ‘shuttle’ mini-computer.
I am using the infinity data-source plugin to get energy data from a REST API (json).
I want to graph electric power (input or output). For that I need to sum value from three phases (IP1, IP2 and IP3).
I get time series from the API {timestamp (s) : value} for each phase.
My problem is that the timestamps are slightly different for each series, with about 1 second difference. I don’t care about time precision.
I want to be able to join/merge my series but I have not been able to, because of that time difference.
the difference varies from one request to the next so I can’t just add a few seconds to cheat.
Is there a way to ‘round’ my timestamps so that I can merge my series?
I tried creating a new column as timestamp/10 but I didn’t find a floor function and grafana keeps the decimal value. I still coudn’t merge my series.
I also tried using the group by transformation on the time column but couldn’t make it work like this either.
i am open to any suggestion.
Thanks a lot!
Have a nice day!