v1.measurements() function

Flux 0.16.0 – 0.88.0

v1.measurements() was deprecated in Flux v0.88.0 in favor of schema.measurements().

The v1.measurements() function returns a list of measurements in a specific bucket. The return value is always a single table with a single column, _value.

import "influxdata/influxdb/v1"

v1.measurements(bucket: "example-bucket")



Bucket to retrieve measurements from.

Function definition

package v1

measurements = (bucket) =>
  tagValues(bucket: bucket, tag: "_measurement")

Used functions: v1.tagValues()

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.