Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
Clarify that influxdb.cardinality() does not default to providing a point-in-time reading for the bucket as a whole (differentiating it from SHOW SERIES CARDINALITY)
Update the examples to make them behave more like their titles suggest
Introduce an example showing application of a smaller time-range
Updates are being made to the comments because the docs are nominally generated from the comments, so we need to make sure the docs changes aren't lost if they're ever regenerated.
Checklist
Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.
[x] ✏️ Write a PR description, regardless of triviality, to include the value of this PR
[x] 🔗 Reference related issues
Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.
This updates the comments for
influxdb.cardinality()
to mirror the docs changes proposed in https://github.com/influxdata/docs-v2/pull/5629The changes made:
influxdb.cardinality()
does not default to providing a point-in-time reading for the bucket as a whole (differentiating it fromSHOW SERIES CARDINALITY
)Updates are being made to the comments because the docs are nominally generated from the comments, so we need to make sure the docs changes aren't lost if they're ever regenerated.
Checklist
Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.
Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.