Can you adapt MOVING_AVERAGE()
<https://docs.influxdata.com/influxdb/v1.0/query_language/functions/#moving-average>
to meet your needs?

If not, https://github.com/influxdata/influxdb/pull/6113 where that
function is implemented provides a good template if you wanted to submit a
time-weighted mean PR.

On Thu, Sep 29, 2016 at 9:13 PM, Sean Beckett <s...@influxdb.com> wrote:

> That's not easy with InfluxDB, but you could build a UDF
> <http://docs.influxdata.com/kapacitor/v1.0/nodes/u_d_f_node/> in Kapacitor
> <http://docs.influxdata.com/kapacitor/v1.0/introduction/> to handle that.
>
> On Thu, Sep 29, 2016 at 8:50 PM, <kylejmcint...@gmail.com> wrote:
>
>> Hi,
>>
>> Is there anyway in InfluxDB to calculate a time-weighted mean of
>> measurements that come in at irregular intervals?
>>
>> Thanks,
>> Kyle
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to influxdb@googlegroups.com.
>> Visit this group at https://groups.google.com/group/influxdb.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/influxdb/7012f4a0-ed0b-4928-b0ad-f27de2d2da24%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CALGqCvOOh0jEJEv%3DmjQswMGjM4Q0zUGK0NBga3AAhLYfjZV90g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to