quickwit-oss / quickwit-oss/quickwit-datasource
Field caps request returns too much data
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 76
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
After changes introduced in https://github.com/quickwit-oss/quickwit-datasource/issues/20, when w're trying to request logs from otel indices for a large period eg 30 days, request for _field_caps either takes a lot of time, holding logs request or even fails due to its response size, because attributes.* field may return infinite amount of fields due to it's highly dynamic nature. I believe it would be nice to have ability to either disable the autocomplete feature for specific datasource or have ability to pick fields/index source for autocomplete to make better experience here.
Contributor guide
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 reviewing issue #20 and the datasource entry point that issues _field_caps requests for autocomplete. Clarify whether the intended result is per-datasource disabling or selecting fields/index sources, then define completion as preventing excessive dynamic-field responses without blocking log requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100