Joel Shprentz
2015-08-11 21:03:14 UTC
Last week Zachary Tong posted Staying in Control with Moving Averages -
Part 1
<https://www.elastic.co/blog/staying-in-control-with-moving-averages-part-1>
to the Elastic Co. blog. He described how to compute a moving average with
Elasticsearch and how to combine those with standard deviations to plot
control charts.
I wonder how to accomplish the same thing with InfluxDB and Grafana.
Continuous queries can periodically compute the mean and standard deviation
for some interval, say an hour. It does not seem possible to structure a
continuous query to compute every hour the mean for the past 24 hours. A
time-weighted moving average seems even more challenging.
Once the moving average and standard deviation are written into some new
time series, SELECT column arithmetic could compute the upper and lower
control limits.
I would appreciate any suggestions about how to implement this.
--
Joel Shprentz
Part 1
<https://www.elastic.co/blog/staying-in-control-with-moving-averages-part-1>
to the Elastic Co. blog. He described how to compute a moving average with
Elasticsearch and how to combine those with standard deviations to plot
control charts.
I wonder how to accomplish the same thing with InfluxDB and Grafana.
Continuous queries can periodically compute the mean and standard deviation
for some interval, say an hour. It does not seem possible to structure a
continuous query to compute every hour the mean for the past 24 hours. A
time-weighted moving average seems even more challenging.
Once the moving average and standard deviation are written into some new
time series, SELECT column arithmetic could compute the upper and lower
control limits.
I would appreciate any suggestions about how to implement this.
--
Joel Shprentz
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/2390e53f-3312-4e04-b634-758c9262f61c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/2390e53f-3312-4e04-b634-758c9262f61c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.