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

Remove deprecated metrics emitted by Memcached client #461

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

56quarters
Copy link
Contributor

@56quarters 56quarters commented Jan 5, 2024

What this PR does:

Before Redis support was added, cache metrics had "memcached" in their names. Now, we use a backend label to identify which cache is being used.

We've been emitting metrics for Memcached with both the old and new names for about 11 months. It's safe to remove them at this point. On Mimir, our dashboards will work with either name so we won't be losing any data.

Example of the old name: thanos_cache_memcached_hits_total.

Example of the new name: thanos_cache_hits_total.

Which issue(s) this PR fixes:

Part of #452

Checklist

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

Before Redis support was added, cache metrics had "memcached" in their
names. Now, we use a backend label to identify which cache is being used.

We've been emitting metrics for Memcached with both the old and new names
for about 11 months. It's safe to remove them at this point. On Mimir, our
dashboards will work with either name so we won't be losing any data.

Example of the old name: `thanos_cache_memcached_hits_total`.

Example of the new name: `thanos_cache_hits_total`.

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
@56quarters 56quarters merged commit 6cc466b into main Jan 8, 2024
3 checks passed
@56quarters 56quarters deleted the 56quarters/cache-metrics branch January 8, 2024 14:55
56quarters added a commit to grafana/mimir that referenced this pull request Jan 8, 2024
Update dskit to a150e79e458136446a0c0172aa9467315872bfce. Specifically,
this pulls in a change to the default timeout for memberlist and a change
to cache client metrics:

* grafana/dskit#458
* grafana/dskit#461

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
56quarters added a commit to grafana/mimir that referenced this pull request Jan 9, 2024
Update dskit to `a150e79e458136446a0c0172aa9467315872bfce`. Specifically,
this pulls in a change to the default timeout for memberlist and a change
to cache client metrics:

* grafana/dskit#458
* grafana/dskit#461

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