1.0 KiB
1.0 KiB
title | description | aliases | menu | weight | v2.0/tags | related | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
v1.measurements() function | The v1.measurements() function returns a list of measurements in a specific bucket. |
|
|
301 |
|
|
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
package v1
measurements = (bucket) =>
tagValues(bucket: bucket, tag: "_measurement")
Used functions: v1.tagValues()