schema.measurements() function returns a list of measurements in a specific bucket.
The return value is always a single table with a single column,
import "influxdata/influxdb/schema" schema.measurements(bucket: "example-bucket")
Bucket to retrieve measurements from.
package schema measurements = (bucket) => tagValues(bucket: bucket, tag: "_measurement")
Used functions: schema.tagValues()
Supported in the InfluxDB Cloud UI
schema package can retrieve schema information from the InfluxDB
Cloud user interface (UI), but not from the Flux REPL.
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.