Skip to content

Commit

Permalink
feat: update renotifyInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
nofir committed Jan 8, 2025
1 parent fffd6e7 commit 398abac
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion stable/indexer-datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: indexer-datadog
description: Indexer datadog
version: 1.0.25
version: 1.0.26
keywords:
- kubernetes
- unevenlabs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: false
# renotifyStatuses:
# - alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: false
# renotifyStatuses:
# - alert
Expand Down
2 changes: 1 addition & 1 deletion stable/indexer-datadog/templates/block-sync-latency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: {{ .Values.datadogMonitors.block_sync_latency.notify_no_data }}
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
onMissingData: default
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
newGroupDelay: 60
# renotifyStatuses:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
onMissingData: default
includeTags: true
escalationMessage: "@pagerduty-indexer"
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
onMissingData: default
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
requireFullWindow: true
notifyNoData: false
noDataTimeframe: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down Expand Up @@ -104,7 +104,7 @@ data:
requireFullWindow: false
notifyNoData: false
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
thresholdWindows:
triggerWindow: last_15m
recoveryWindow: last_15m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data:
requireFullWindow: false
notifyNoData: false
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
notifyAudit: false
onMissingData: default
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
notifyNoData: false
noDataTimeframe: 10
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
escalationMessage: "@pagerduty-indexer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
enableLogsSample: false
notifyAudit: false
onMissingData: default
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
notifyAudit: false
onMissingData: default
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
notifyNoData: false
noDataTimeframe: 10
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
escalationMessage: "@pagerduty-indexer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ data:
requireFullWindow: false
notifyNoData: false
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data:
requireFullWindow: false
notifyNoData: false
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
newGroupDelay: 60
# renotifyStatuses:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
requireFullWindow: false
notifyNoData: false
renotifyInterval: 30
escalationMessage: "@pagerduty-indexer"
renotifyOccurrences: 1
includeTags: true
newGroupDelay: 60

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
escalationMessage: "@pagerduty-indexer"
# renotifyStatuses:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
notifyNoData: false
noDataTimeframe: 10
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
escalationMessage: "@pagerduty-indexer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
notifyAudit: false
onMissingData: default
includeTags: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
# renotifyStatuses:
# - alert
# - no data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
notifyAudit: false
requireFullWindow: false
notifyNoData: true
renotifyInterval: {{ ternary 10 30 (eq (int .Values.chain_tier) 1) }}
renotifyInterval: {{ ternary 10 (ternary 30 90 (eq (int .Values.chain_tier) 2)) (eq (int .Values.chain_tier) 1) }}
includeTags: true
# renotifyStatuses:
# - alert
Expand Down

0 comments on commit 398abac

Please sign in to comment.