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

add query storage wall time to query stats #5799

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Mar 5, 2024

What this PR does:

There is a querier_wall_time field in query stats log, meaning total time spent on querier to execute the query. This includes the time to fetch from underlying storage and execute the query using the query engine.The query itself can be either very simple or very complex and the evaluation might be even slower than fetching data from storage itself.

In order to identify how the long the querier spends fetching data from storage layer, additional log field is required. This pr adds a field called query_storage_wall_time for this requirement.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@yeya24 yeya24 force-pushed the storage-wall-time branch 2 times, most recently from 72c43cd to 4fbf05d Compare March 6, 2024 00:24
@yeya24 yeya24 marked this pull request as ready for review March 6, 2024 00:24
@yeya24 yeya24 force-pushed the storage-wall-time branch 2 times, most recently from a53a58c to 356b646 Compare March 6, 2024 00:59
@pull-request-size pull-request-size bot added size/L and removed size/M labels Mar 6, 2024
@yeya24 yeya24 changed the title add storage wall time to querier stats add query storage wall time to query stats Mar 6, 2024
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 merged commit 9bc04ce into cortexproject:master Mar 6, 2024
16 checks passed
@yeya24 yeya24 deleted the storage-wall-time branch March 6, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants