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

Rename metric to cortex_querier_query_storegateway_chunks_total #7145

Merged
merged 4 commits into from
Jan 18, 2024

Conversation

jhalterman
Copy link
Member

@jhalterman jhalterman commented Jan 17, 2024

What this PR does

  • Rename cortex_query_storegateway_chunks_total to cortex_querier_query_storegateway_chunks_total
  • Add metric to test cases

Follow-up to #7099

Which issue(s) this PR fixes or relates to

Addresses a comment from a previous PR: #7099 (comment)

Checklist

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

- Rename cortex_query_storegateway_chunks_total to cortex_querier_query_storegateway_chunks_total
- Add metric to test cases
@jhalterman jhalterman marked this pull request as ready for review January 17, 2024 04:15
@jhalterman jhalterman requested a review from a team as a code owner January 17, 2024 04:15
@jhalterman jhalterman mentioned this pull request Jan 17, 2024
4 tasks
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

I left a couple of comments. To fix the integration tests, please add cortex_querier prefix as a valid prefix for the Ruler in integration/asserts.go (reason is that the ruler internally runs the querier when running without the external rule evaluation, so it's valid if ruler exposes querier's metrics).

CHANGELOG.md Outdated Show resolved Hide resolved
pkg/querier/blocks_store_queryable_test.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jhalterman jhalterman merged commit 8561e6f into grafana:main Jan 18, 2024
28 checks passed
@jhalterman jhalterman deleted the querier-metrics-follow-on branch January 18, 2024 15:24
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.

3 participants