1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/nsq/alerts.yaml

24 lines
720 B
YAML
Raw Normal View History

groups:
- name: nsq
rules:
- alert: NsqTopicDepthIncreasing
annotations:
description: |
Topic {{ $labels.topic }} depth is higher than 100. The current queue is {{ $value }}.
summary: Topic depth is increasing.
expr: |
sum by (topic) (nsq_topic_depth) > 100
for: 5m
labels:
severity: critical
- alert: NsqChannelDepthIncreasing
annotations:
description: |
Channel {{ $labels.channel }} depth in topic {{ $labels.topic }} is higher than 100. The current queue is {{ $value }}.
summary: Topic channel depth is increasing.
expr: |
sum by (topic) (nsq_topic_channel_backend_depth) > 100
for: 5m
labels:
severity: critical