quickwit-oss / quickwit-oss/quickwit
Add a histogram metric for SQL requests
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
Right now we do monitor the metastore grpc request time, but we do not have a metric measuring closely the time spent running postgresql requests.
We want an explicit (chosen, not generated from the SQL query) label for each sql client callsite too.
Also, the current histogram scale stops at 4s and it happens to not be enough. It would be better to go to 16s.
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 locating the existing metastore gRPC request-time metric and the SQL client callsites that issue PostgreSQL requests. Add an explicit label per callsite and a histogram covering durations through 16 seconds; done means SQL request time is separately observable with those labels and bounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rust
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100