quickwit-oss / quickwit-oss/quickwit

Add a histogram metric for SQL requests

Open
#5,352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.