Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Remove flaky PromscaleCacheTooSmall alert #1498

Merged

Conversation

arajkumar
Copy link
Member

Description

This commit removes the alert PromscaleCacheTooSmall which is flaky and fires during same cause as PromscaleCacheHighNumberOfEvictions.

Fixes #1356.

Signed-off-by: Arunprasad Rajkumar ar.arunprasad@gmail.com

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR:

  • CHANGELOG entry for user-facing changes
  • Updated the relevant documentation

@arajkumar arajkumar force-pushed the remove-PromscaleCacheTooSmall-alert branch from 3a98cd0 to 8f07fbf Compare July 18, 2022 11:08
@arajkumar arajkumar self-assigned this Jul 18, 2022
This commit removes the alert PromscaleCacheTooSmall which is flaky and fires during same cause as `PromscaleCacheHighNumberOfEvictions`.

Fixes timescale#1356.

Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
@arajkumar arajkumar force-pushed the remove-PromscaleCacheTooSmall-alert branch from 8f07fbf to 4fe26f5 Compare July 18, 2022 11:09
@arajkumar arajkumar marked this pull request as ready for review July 18, 2022 12:30
@arajkumar arajkumar requested review from a team and cevian as code owners July 18, 2022 12:30
sum by (job, instance, name, type) (
promscale_cache_capacity_elements
)
rate(promscale_cache_evictions_total[5m])
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you explain why it's no longer necessary to sum by ... here?

Copy link
Member Author

Choose a reason for hiding this comment

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

The metric has only 4 labels(2 app labels[name, type] and 2 scrape labels[job, instances]), there is no reason to use sum by as it would yield the same result even without that.

@arajkumar arajkumar merged commit aa33000 into timescale:master Jul 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Low cache hit ratio for metric_name cache
3 participants