1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-15 17:50:48 +00:00
monitoring-mixins-website/assets/nsq/alerts.yaml
Vitaly Zhuravlev b3b400137a Add jsonnet-libs mixins
Add blackbox exporter
Add mysql exporter
2024-05-04 12:01:41 +00:00

23 lines
720 B
YAML

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