v1.measurements() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.36 is the most recent stable version of Flux.

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: "telegraf/autogen")

Parameters

bucket

The bucket from which to list measurements.

Data type: String

Function definition

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

Used functions: tagValues()