Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregate Integral Function #1400

Closed
gesquive opened this issue Jan 28, 2015 · 38 comments
Closed

Aggregate Integral Function #1400

gesquive opened this issue Jan 28, 2015 · 38 comments

Comments

@gesquive
Copy link

A function we use often in graphite is integral. It's pretty self explanitory. We really want to completely replace graphite with influxdb and this would really help our case.

@balistof
Copy link

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.

@beckettsean beckettsean added this to the Next Point Release milestone Apr 15, 2015
@C4ptainCrunch
Copy link

Any update on this ?

@martinpallmann
Copy link

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.

@beckettsean
Copy link
Contributor

@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.

@michaelsproul
Copy link

I've implemented an integration aggregation function in #3344 and would appreciate feedback and help getting it merged 😄

@hotsnow77
Copy link

+1

@beckettsean beckettsean modified the milestones: Next Point Release, Longer term Aug 6, 2015
@enavarro222
Copy link

+1
This will be very useful to get energy consumption (Kwh) from power logging (W)

@markusr
Copy link

markusr commented Sep 8, 2015

@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]

@carlosandroni
Copy link

@markusr
Your solution is just like using MEAN function and works only if you have a fixed sample time.

@pakozm
Copy link

pakozm commented Dec 16, 2015

I'm also interested in this feature... Is it planed to be introduced in InfluxDB?

@oluies
Copy link

oluies commented Feb 20, 2016

+1

@sischnei
Copy link

+1: Would allow to count the amount of events processed!!

@beckettsean
Copy link
Contributor

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.

@lukecyca
Copy link

+1

6 similar comments
@lbuchy
Copy link

lbuchy commented May 4, 2016

+1

@JarrettR
Copy link

JarrettR commented May 4, 2016

+1

@uprial
Copy link

uprial commented Jun 21, 2016

+1

@dstreppa
Copy link

dstreppa commented Jul 8, 2016

+1

@lukyad
Copy link

lukyad commented Jul 8, 2016

+1

@dongshu2013
Copy link

+1

@staehler
Copy link

+1

5 similar comments
@hurtstotouchfire
Copy link

+1

@AndreJacomeSilva
Copy link

+1

@stettix
Copy link

stettix commented Sep 22, 2016

+1

@bkdspanning
Copy link

+1

@jwasys
Copy link

jwasys commented Nov 1, 2016

+1

@elphick
Copy link

elphick commented Nov 15, 2016

+1

7 similar comments
@tnn24
Copy link

tnn24 commented Jan 11, 2017

+1

@t-pfaff
Copy link

t-pfaff commented Feb 10, 2017

+1

@villaRob
Copy link

+1

@StasGoshtein
Copy link

+1

@micbuh
Copy link

micbuh commented Mar 30, 2017

+1

@ultima-originem
Copy link

+1

@hl68fx
Copy link

hl68fx commented Apr 26, 2017

+1

@cantino
Copy link

cantino commented May 18, 2017

+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 #8194 has been merged. How do I determine which version of influxdb will support this?

@JarrettR
Copy link

https:/influxdata/influxdb/blob/master/CHANGELOG.md

Looks like it's in 1.3.0 (Still unreleased)

@popey456963
Copy link

It has since been released, this issue should probably be closed?

It would be useful to update the documentation here

@suikast42
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests