experimental.mean() function is subject to change at any time.
By using this function, you accept the risks of experimental functions.
experimental.mean() function computes the mean or average of non-null
values in the
_value column of each input table.
Output tables contain a single row the with the calculated mean in the
experimental.mean() is an aggregate function.
import "experimental" experimental.mean()
Default is piped-forward data (
import "experimental" from(bucket:"example-bucket") |> filter(fn: (r) => r._measurement == "example-measurement" and r._field == "example-field") |> range(start:-1h) |> experimental.mean()
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.