Docs

v2.0

v1.measurements() function

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")

Parameters

bucket

The bucket from which to list measurements.

Data type: String

Function definition

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

Used functions: tagValues()


Bug Reports and Feedback

Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation.

Submit feedback in the InfluxData Community