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

Commit

Permalink
Remove flaky PromscaleCacheTooSmall alert
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
arajkumar committed Jul 18, 2022
1 parent 107ba0f commit 8f07fbf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 41 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ We use the following categories for changes:
- Refine check for existence of `prom_schema_migrations` table [#1452]
- Do not run rules-manager in `-db.read-only` mode [#1451]
- Fix underlying metric(`promscale_sql_database_chunks_count`) which leads to false positive firing of PromscaleCompressionLow alert [#1494]
- Remove flaky PromscaleCacheTooSmall alert [#1498]

## [0.12.1] - 2022-06-29

Expand Down
27 changes: 3 additions & 24 deletions docs/mixin/alerts/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,37 +172,16 @@ groups:
- alert: PromscaleCacheHighNumberOfEvictions
expr: |
(
sum by (job, instance, name, type) (
rate(promscale_cache_evictions_total[5m])
)
/
sum by (job, instance, name, type) (
promscale_cache_capacity_elements
)
rate(promscale_cache_evictions_total[5m])
/
promscale_cache_capacity_elements
) > 0.2
labels:
severity: warning
annotations:
summary: High cache eviction in Promscale.
description: "Promscale {{ $labels.name }} is evicting at {{ $value }} entries a second."
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleCacheHighNumberOfEvictions.md
- alert: PromscaleCacheTooSmall
expr: |
(
sum by (job, instance, type, name) (
rate(promscale_cache_query_hits_total[5m])
)
/
sum by (job, instance, type, name) (
rate(promscale_cache_queries_total[5m])
)
) < 0.9
labels:
severity: warning
annotations:
summary: High cache eviction in Promscale.
description: "Promscale {{ $labels.name }} has a hit ratio of {{ $value | humanizePercentage }}."
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleCacheTooSmall.md
- name: promscale-database-connection
rules:
- alert: PromscaleDBHighErrorRate
Expand Down
17 changes: 0 additions & 17 deletions docs/runbooks/PromscaleCacheTooSmall.md

This file was deleted.

0 comments on commit 8f07fbf

Please sign in to comment.