I would like to implement a UDF for Kapacitor providing a weighted moving average, which means I need to be able to initialize the UDF with its array of weights (not necessarily a small array). Other than initializing the weights, the rest of the function is similar to the moving_avg example.
At this point, my crucial bit of missing code is figuring out how best to communicate to my UDF what its weights should be. I can imagine passing a simple parameter pointing to a file, or a key to look up the data in a measurement in influxdb, but I would like expert advice on the right way to approach the problem. TIA Kent -- 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 [email protected]. To post to this group, send email to [email protected]. 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/df3a0fc0-8446-445d-aad9-054c5da5d40d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
