v1.measurements() function

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.

  1. import "influxdata/influxdb/v1"
  2. v1.measurements(bucket: "example-bucket")

Parameters

bucket

Bucket to retrieve measurements from.

*Data type: String*

Function definition

  1. package v1
  2. measurements = (bucket) =>
  3. tagValues(bucket: bucket, tag: "_measurement")

*Used functions: v1.tagValues()*

Related articles

measurements