Skip to content

Commit

Permalink
feat: update tier logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nofir committed Jan 6, 2025
1 parent 52d48e1 commit 769245d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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.23
version: 1.0.24
keywords:
- kubernetes
- unevenlabs
Expand Down
2 changes: 1 addition & 1 deletion stable/indexer-datadog/templates/high-p95-latency.yaml
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 @@ -10,7 +10,7 @@ metadata:
spec:
name: {{ .Values.environment }} - {{ title .Values.chain_name }} - {{`{{`}}rabbitmq_vhost.name{{`}}`}} {{`{{`}}rabbitmq_queue.name{{`}}`}} RabbitMQ Large Queues Monitor
type: query alert
query: max(last_5m):top(max:rabbitmq.queue.messages_ready{host:prod-applications, rabbitmq_vhost:{{ .Values.chain_name }}} by {rabbitmq_vhost,rabbitmq_queue}, 50, 'max', 'desc') > 75000
query: max(last_30m):top(max:rabbitmq.queue.messages_ready{host:prod-applications, rabbitmq_vhost:{{ .Values.chain_name }}} by {rabbitmq_vhost,rabbitmq_queue}, 50, 'max', 'desc') > 150000
message: |-
{{`{{`}}rabbitmq_vhost.name{{`}}`}} - {{`{{`}}rabbitmq_queue.name{{`}}`}} is buffering with {{`{{`}}value{{`}}`}} messages ready to be consumed
Check the queue for errors or any backfill in case it's buffering
Expand All @@ -23,12 +23,12 @@ spec:
options:
thresholds:
critical: "75000"
warning: "50000"
critical: "150000"
warning: "75000"
notifyAudit: false
requireFullWindow: false
notifyNoData: false
renotifyInterval: 0
renotifyInterval: 30
includeTags: true
newGroupDelay: 60

Expand Down

0 comments on commit 769245d

Please sign in to comment.