Hi, I’m using Grafana v10.2.3 on Raspbian. I’m collecting monthly sums from various energy counters in an InfluxDB. These values should be grouped by month, but it seems that timestamps differ by milliseconds, so these are considered separate points in time:
The three bars on the left are from January first while the three (or rather four) on the right are from February first:
Any idea how I can make Grafana neglect those milliseconds? I read about plugins like groupedbarchart, but was unable to install and I’m unsure if they’re still valid for recent Grafana versions.
Sure. In fact, if you follow one of the links in the blogs, you can see a bunch of InfluxQL queries, including one that sums Demand by day:
SELECT sum("value") FROM "ElectricPowerOperations" WHERE ("type"::tag = 'Demand' AND "region"::tag =~ /^$region$/) AND $timeFilter GROUP BY region, time(1d)