Skip to content

Commit

Permalink
Merge pull request #55 from intergral/alert_rules
Browse files Browse the repository at this point in the history
feat(rules): add additional alert rules to chart
  • Loading branch information
Umaaz authored Aug 14, 2024
2 parents 9f20ea6 + e4bb29c commit 82b64c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/deep-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.10
version: 1.0.11

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/deep-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ monitoring:
# The rules to add
rules:
- alert: Unhealthy Ring Member
expr: deep_ring_members{state="Unhealthy"} > 0
expr: deep_ring_members{state="Unhealthy"{{ tpl .Values.monitoring.rules.additionalRuleExpr $ }}} > 0
labels:
severity: critical
annotations:
Expand Down
2 changes: 1 addition & 1 deletion charts/deep/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.24
version: 1.0.25

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions charts/deep/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ monitoring:
# The rules to add
rules:
- alert: Unhealthy Ring Member
expr: deep_ring_members{state="Unhealthy"} > 0
expr: deep_ring_members{state="Unhealthy"{{ tpl .Values.monitoring.rules.additionalRuleExpr $ }}} > 0
labels:
severity: critical
annotations:
Expand Down Expand Up @@ -519,7 +519,7 @@ monitoring:
runbook_url: https://intergral.github.io/deep/runbooks/missing_ring_node/
summary: One or more ring has missing required nodes
- alert: Rapid increase in blocks
expr: delta(deep_db_blocklist_length{cluster="{{ include "deep.clusterName" .}}{{ tpl .Values.monitoring.rules.additionalRuleExpr $ }}"}[24h]) > 30
expr: delta(deep_db_blocklist_length{cluster="{{ include "deep.clusterName" .}}"{{ tpl .Values.monitoring.rules.additionalRuleExpr $ }}}[24h]) > 30
for: 48h
labels:
severity: warning
Expand Down

0 comments on commit 82b64c5

Please sign in to comment.