Skip to content

Fix flaky on thanos_memcached_operations_total metrics #5482

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

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jul 25, 2023

What this PR does:

thanos_memcached_operations_total will also be affected by cache hits and the flaky tests so this pr tries to fix it.

The logic is try to query L0 and L1 metrics and understand cache hits. For each cache hits in L0, we have one less requests to memcached.

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 2 commits July 25, 2023 12:36
Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 merged commit 634df35 into cortexproject:master Jul 25, 2023
@yeya24 yeya24 deleted the fix-index-cache-flaky-again branch July 25, 2023 22:52
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