mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
fix indentation
This commit is contained in:
parent
480e6b5bf3
commit
a292feea53
1 changed files with 34 additions and 34 deletions
68
dist/rules/nats/nats-exporter.yml
vendored
68
dist/rules/nats/nats-exporter.yml
vendored
|
|
@ -1,41 +1,41 @@
|
||||||
groups:
|
groups:
|
||||||
|
|
||||||
- name: NatsExporter
|
- name: NatsExporter
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
|
|
||||||
- alert: NatsHighConnectionCount
|
- alert: NatsHighConnectionCount
|
||||||
expr: 'gnatsd_varz_connections > 100'
|
expr: 'gnatsd_varz_connections > 100'
|
||||||
for: 3m
|
for: 3m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Nats high connection count (instance {{ $labels.instance }})
|
summary: Nats high connection count (instance {{ $labels.instance }})
|
||||||
description: "High number of NATS connections ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "High number of NATS connections ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: NatsHighPendingBytes
|
- alert: NatsHighPendingBytes
|
||||||
expr: 'gnatsd_connz_pending_bytes > 100000'
|
expr: 'gnatsd_connz_pending_bytes > 100000'
|
||||||
for: 3m
|
for: 3m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Nats high pending bytes (instance {{ $labels.instance }})
|
summary: Nats high pending bytes (instance {{ $labels.instance }})
|
||||||
description: "High number of NATS pending bytes ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "High number of NATS pending bytes ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: NatsHighSubscriptionsCount
|
- alert: NatsHighSubscriptionsCount
|
||||||
expr: 'gnatsd_connz_subscriptions > 50'
|
expr: 'gnatsd_connz_subscriptions > 50'
|
||||||
for: 3m
|
for: 3m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Nats high subscriptions count (instance {{ $labels.instance }})
|
summary: Nats high subscriptions count (instance {{ $labels.instance }})
|
||||||
description: "High number of NATS subscriptions ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "High number of NATS subscriptions ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: NatsHighRoutesCount
|
- alert: NatsHighRoutesCount
|
||||||
expr: 'gnatsd_routez_num_routes > 10'
|
expr: 'gnatsd_routez_num_routes > 10'
|
||||||
for: 3m
|
for: 3m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Nats high routes count (instance {{ $labels.instance }})
|
summary: Nats high routes count (instance {{ $labels.instance }})
|
||||||
description: "High number of NATS routes ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "High number of NATS routes ({{ $value }}) for {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
Loading…
Reference in a new issue