Skip to content

Commit 329a943

Browse files
committed
Add alert when fluentd queue buffers grow too large
1 parent d0ad042 commit 329a943

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% raw %}
2+
groups:
3+
- name: Fluentd
4+
rules:
5+
- alert: FluentdBufferTooLarge
6+
expr: (fluentd_output_status_buffer_total_bytes / 1024^2) > 128
7+
for: 15m
8+
labels:
9+
severity: warning
10+
annotations:
11+
summary: "Fluentd at {{ $labels.instance }} reports large queue buffers"
12+
description: "Fluentd queue buffers on {{ $labels.instance }} are using {{ $value }} MiB."
13+
{% endraw %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Adds a new Prometheus alert ``FluentdBufferTooLarge`` which is raised when
5+
the total size of queue buffers grows above 128 MiB.

0 commit comments

Comments
 (0)