Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve query path observability #1235

Merged
merged 29 commits into from
Oct 8, 2023

Conversation

Rachelint
Copy link
Contributor

@Rachelint Rachelint commented Oct 1, 2023

Rationale

Closes #1211
We have poor ways too observe query status, in this pr, a ton of tools are added for better observability.

Detailed Changes

  • Support slow query / failed query logs.
  • Add metrics about query time range, sst prune rate, push down type and so on...
  • Impl simple distributed query analyze.

Test Plan

Test manually.

@Rachelint Rachelint marked this pull request as ready for review October 1, 2023 10:12
@jiacai2050 jiacai2050 self-requested a review October 2, 2023 07:47
@Rachelint Rachelint force-pushed the improve-query-observability branch from c3aca57 to d998798 Compare October 7, 2023 07:22
@Rachelint Rachelint force-pushed the improve-query-observability branch from 14e66d0 to b33df8a Compare October 8, 2023 07:28
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Rachelint Rachelint merged commit 6d0c2b9 into apache:main Oct 8, 2023
Rachelint added a commit that referenced this pull request Oct 9, 2023
## Rationale
Bug leading to logging nothing is introduced by pr #1235 , I fix it in
this pr by overwritting `tag` default value to empty.

## Detailed Changes
+ Hide all detailed impl about logging in `logger` crate.
+ Overwrite  default `tag` value(set by `log` crate) to empty.

## Test Plan
Test manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query debugging improvement tickets
2 participants