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

Move requests/hits metrics to cache clients #465

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

56quarters
Copy link
Contributor

What this PR does:

Move tracking of keys requested and hits from the remoteCache to each respective cache client (Memcached and Redis). This is part of a refactor that will eventually remove remoteCache since it doesn't provide enough value to justify itself.

Which issue(s) this PR fixes:

Related #452

Checklist

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

@56quarters 56quarters force-pushed the 56quarters/cache-metrics-again branch 2 times, most recently from 35f1c20 to 591442f Compare January 10, 2024 22:36
Move tracking of keys requested and hits from the `remoteCache` to each
respective cache client (Memcached and Redis). This is part of a refactor
that will eventually remove `remoteCache` since it doesn't provide enough
value to justify itself.

Related #452

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
Copy link
Member

@francoposa francoposa left a comment

Choose a reason for hiding this comment

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

LGTM - prefer docstring as mentioned but just a nit

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
@56quarters 56quarters merged commit 13030e3 into main Jan 11, 2024
3 checks passed
@56quarters 56quarters deleted the 56quarters/cache-metrics-again branch January 11, 2024 15:34
56quarters added a commit to grafana/mimir that referenced this pull request Jan 11, 2024
Specifically, pulls in grafana/dskit#465 which is a small
refactor of Memcached/Redis clients.

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
56quarters added a commit to grafana/mimir that referenced this pull request Jan 11, 2024
Specifically, pulls in grafana/dskit#465 which is a small
refactor of Memcached/Redis clients.

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
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.

None yet

2 participants