v1.measurementTagValues() function
v1.measurementTagValues()
was deprecated in Flux v0.88.0 in favor of
schema.measurementTagValues()
.
The v1.measurementTagValues()
function returns a list of tag values for a specific measurement.
The return value is always a single table with a single column, _value
.
import "influxdata/influxdb/v1"
v1.measurementTagValues(
bucket: "example-bucket",
measurement: "cpu",
tag: "host",
)
Parameters
bucket
Bucket to return tag values from for a specific measurement.
measurement
Measurement to return tag values from.
tag
Tag to return all unique values from.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.