Currently, we only accept a single measurement, however I've got various flux tasks which provide multiple:
sourcedata = from(bucket: "telegraf/autogen", host: host, token: token)
|> range(start: -task.every)
|> filter(fn: (r) => r._measurement == "data_quota"
or r._measurement == "http_response"
or r._measurement == "i2pd"
or r._measurement == "nextcloud_quotas"
or r._measurement == "pihole_stats"
or r._measurement == "internet_speed"
)
|> filter(fn: (r) => r._field != "result_type" and r._field != "status")
|> aggregateWindow(every: 15m, fn: mean)
It'd be good if it were possible to provide a list
Activity
04-Feb-23 16:29
assigned to @btasker
04-Feb-23 16:38
changed title from Allow multiple measurments to be specified to Allow multiple measur{+e+}ments to be specified
05-Feb-23 12:53
mentioned in commit 7928e6aa42c74290c5e55afb0662d6da8109906b
Message
docs: update README with examples of using multi-measurment support for utilities/python_influxdb_downsample#2
05-Feb-23 12:53
mentioned in commit b91adfe587de64f37d9a5d675c8adad79608babe
Message
Allow multiple measurements to be included utilities/python_influxdb_downsample#2