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

Collect store gateway postings touched count and bytes in querier stats #5892

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Apr 25, 2024

What this PR does:

This PR adds two new fields to query stats. store_gateway_touched_postings_count and store_gateway_touched_posting_bytes are added to collect number of postings touched and corresponding sizes of the postings in Store Gateway for the corresponding query.

These 2 stats can be used to help troubleshoot query performance problem to Store Gateway.

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 added 4 commits April 26, 2024 09:45
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 force-pushed the store-gateway-postings-touched branch from 88b280f to 8fe057c Compare April 26, 2024 16:46
@yeya24 yeya24 merged commit e74c604 into cortexproject:master Apr 26, 2024
16 checks passed
Kramer0x0 pushed a commit to Kramer0x0/cortex that referenced this pull request Apr 26, 2024
…ts (cortexproject#5892)

* update stats

Signed-off-by: Ben Ye <benye@amazon.com>

* update stats

Signed-off-by: Ben Ye <benye@amazon.com>

* collect store gateway postings touched count and bytes in querier stats

Signed-off-by: Ben Ye <benye@amazon.com>

* changelog

Signed-off-by: Ben Ye <benye@amazon.com>

---------

Signed-off-by: Ben Ye <benye@amazon.com>
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