influxdata / influxdata/influx-cli
CLI does not paginate resources
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
The CLI communicates to influx over the HTTP API, which by default has a limit of 100 for all resources and offers pagination to get more results.
This isn't properly being taken into account in the CLI, and therefore it's impossible to show results past the first 100.
AC: As a user, I should see all results when entering a command like `influx buckets list`.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the CLI resource-list commands and their HTTP API requests, using `influx buckets list` as the acceptance example. Reproduce the issue with more than 100 resources and inspect how response pagination is handled. Done means list commands show results beyond the first 100 and existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100