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

Should support moving averages aggregate function #77

Closed
pauldix opened this issue Nov 23, 2013 · 89 comments
Closed

Should support moving averages aggregate function #77

pauldix opened this issue Nov 23, 2013 · 89 comments

Comments

@pauldix
Copy link
Member

pauldix commented Nov 23, 2013

Should be able to calculate moving averages of different types. Simple, weighted, exponential, etc. Need to come up with specific syntax and stuff, but for now there's more reading here http://en.wikipedia.org/wiki/Moving_average

@nichdiekuh
Copy link

👍 EMA functions would be great!

@jvshahid
Copy link
Contributor

jvshahid commented Apr 3, 2014

Comments from #396 (which is a duplicate of this issue)

It would be great to have Influx calculate a (simple) moving average (or median, or maybe even percentiles).

For example: SELECT movingAverage(value, $window) FROM my_series, where $window could be a number of points/events, or a time interval, like 1s or 2m.

@spatil
Copy link

spatil commented May 19, 2014

+1

1 similar comment
@huhongbo
Copy link

+1

jvshahid pushed a commit that referenced this issue Aug 12, 2014
[Fix #74] Refactor to use binary log and binary RPCs.
@clkao
Copy link

clkao commented Aug 17, 2014

+1

3 similar comments
@sahilthapar
Copy link

+1

@rmihael
Copy link

rmihael commented Aug 19, 2014

+1

@selbyk
Copy link

selbyk commented Sep 19, 2014

+1

@ybogdanov
Copy link

+1

@toddboom toddboom added the idea label Oct 21, 2014
@shaharke
Copy link

+1

@smartynov
Copy link

+1, really need this. Should we think about it together?

@mchmarny
Copy link

+1 but as a downsampled continuous queries

select mavg(val) from temp_series group by time(1h) into temp_series.mavg.1h

@DarrenMowat
Copy link

+1

2 similar comments
@ajcrowe
Copy link

ajcrowe commented Jan 15, 2015

+1

@probepark
Copy link

+1

@pbrit
Copy link

pbrit commented Mar 4, 2015

+1

3 similar comments
@tbillet
Copy link

tbillet commented Apr 2, 2015

+1

@naneau
Copy link

naneau commented Apr 2, 2015

+1

@ebereketoglu
Copy link

+1

@beckettsean beckettsean added this to the Next Point Release milestone Apr 8, 2015
@tcolgate
Copy link
Contributor

I'd really like to have a go at this (and Holt winters forecasting). CQ seems the right way of doing these. They'd need access previous buckets/periods. Any tips would be appreciated. I'll start having a dig around

@cemo
Copy link

cemo commented Apr 15, 2015

+1

@mbalkanloo
Copy link

unsubscribe
On Mar 1, 2016 11:24 AM, "Julien Maitrehenry" notifications@github.com
wrote:

+1


Reply to this email directly or view it on GitHub
#77 (comment).

@thegreatjerboa
Copy link

+1

@mbalkanloo
Copy link

unsubscribe

On Wed, Mar 2, 2016 at 3:49 PM, Jeff Schumacher notifications@github.com
wrote:

+1


Reply to this email directly or view it on GitHub
#77 (comment).

@pauldix
Copy link
Member Author

pauldix commented Mar 2, 2016

@mbalkanloo that's not how you unsubscribe to an issue. You're adding more noise whenever you send that email. Follow the link to GH and unsubscribe to the issue using their interface.

@hailpam
Copy link

hailpam commented Mar 8, 2016

+1

1 similar comment
@tomazbracic
Copy link

+1

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

@jsternberg
Copy link
Contributor

I'll be making a new issue for each component of this issue. The simple moving average aggregate is in #6112 and we hope to be able to get that into 0.12.0, but no promises.

I'm reclosing this issue for now.

@k3gk3gk3g
Copy link

+1

5 similar comments
@szymic1
Copy link

szymic1 commented Aug 8, 2017

+1

@blanet
Copy link

blanet commented Sep 22, 2017

+1

@shawafts
Copy link

shawafts commented Dec 5, 2017

+1

@dterg
Copy link

dterg commented Dec 30, 2017

+1

@alrghods
Copy link

alrghods commented Mar 1, 2018

+1

@vincentbarat
Copy link

+1

@jsternberg
Copy link
Contributor

We have implemented some moving average functions. If you need a moving average function that isn't included in the latest version, please open a new issue so we can triage the issue.

Thanks. I'm going to lock this conversation to prevent additional +1 comments.

@influxdata influxdata locked as resolved and limited conversation to collaborators May 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests