Skip to content

Flux: List series like measurements or cardinality #24032

Open
@Nick135

Description

@Nick135

Instead of calculate the cardinality it would be helpful to get all series to see if there is any option to optimize cardinality.

Proposal:
import "influxdata/influxdb/schema"
schema.series(bucket: "example-bucket")

Current behavior:
List all measurements, keys, tags and find all unique combinations (series).
Same as influxdb.cardinality(), but this functions returns only the count and not the name of the series.

Desired behavior:
List series

Alternatives considered:
write complicated query

Use case:
Very helpful to optimize cardinality vs. query performance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions