influxdata / influxdata/influxdb
Count total data points in a measurement
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Proposal:__
Count all the data points in a measurement and return the value.
__Current behavior:__
This is not possible.
__Desired behavior:__
Something like:
`SHOW DATA_POINTS COUNT FROM cpu;`
__Use case:__
I'm currently profiling usage on a large influxdb instance and counting the rough size of each measurement would help determine where most of our data is coming from.
Contributor guide
Research direction
The issue names no files, tests, or entry points, so begin by locating the measurement-query handling and existing SHOW command tests in InfluxDB. Define the query behavior and verify that the returned count covers all data points in the selected measurement.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100