Provide also an aggreate Integral Average function. So that you not take the Mean (sum of values divided by count) but instead use the time as the weight. Basically like Integral but dividing the Integral value by the group by time() range.
Any update on this ?
I also like to know if there is happening something regarding this ticket. We're using influx right know and the missing integral function is a big problem for us.
@martinpallmann it is not yet scheduled for a particular release, so it is 6+ weeks away. Watch this issue for updates to the Milestone. That's out backlog.
I've implemented an integration aggregation function in #3344 and would appreciate feedback and help getting it merged :smile:
+1
+1
This will be very useful to get energy consumption (Kwh) from power logging (W)
@enavarro222
We use: SELECT sum(power)/count(power) FROM "data" WHERE $timeFilter GROUP BY time(1h)
to calculate the energy consumption in [Wh]. power is [W]
@markusr
Your solution is just like using MEAN function and works only if you have a fixed sample time.
I'm also interested in this feature... Is it planed to be introduced in InfluxDB?
+1
+1: Would allow to count the amount of events processed!!
As mentioned in my post to the mailing list we are experimenting with simplifying our open GitHub Issues. This feature request has been rolled into an aggregate issue for all function requests, so that we can close this issue until we are ready to work on it.
You may continue to make comments here. Closing the issue does not mean we are rejecting this idea.
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Has anyone found a workaround for this? I need this for calculating power use with a variable power sampling rate, as mentioned by @enavarro222 and @carlosandroni.
Edit: it looks like https://github.com/influxdata/influxdb/pull/8194 has been merged. How do I determine which version of influxdb will support this?
https://github.com/influxdata/influxdb/blob/master/CHANGELOG.md
Looks like it's in 1.3.0 (Still unreleased)
It has since been released, this issue should probably be closed?
It would be useful to update the documentation here
+1
Most helpful comment
+1
This will be very useful to get energy consumption (Kwh) from power logging (W)