influxdb.cardinality() function
InfluxDB Cloud supports the influxdb.cardinality()
function, but InfluxDB OSS does not.
Bucket to query cardinality from.
*Data type: String*
bucketID
String-encoded bucket ID to query cardinality from.
*Data type: String*
org
Organization name.
String-encoded organization ID to query cardinality from.
*Data type: String*
host
URL of the InfluxDB instance to query. See InfluxDB URLs.
*Data type: String*
token
InfluxDB authentication token.
*Data type: String*
*Data type: Duration | Time*
stop
The latest time to include when calculating cardinality. The cardinality calculation excludes points that match the specified start time. Use a relative duration or absolute time. For example, -1h
or . Durations are relative to now()
. Defaults to now()
.
*Data type: Duration | Time*
predicate
Predicate function that filters records. Defaults to .
*Data type: Function*