Documentation

schema.measurements() function

The schema.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/schema"

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

Parameters

bucket

Bucket to retrieve measurements from.

Data type: String

Function definition

package schema

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

Used functions: schema.tagValues()


New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: