summaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-03-16 17:00:16 +0100
committernicolargo <nicolas@nicolargo.com>2024-03-16 17:00:16 +0100
commit6508acaba73fbfd61ed471e1204a23c028a3f9fd (patch)
treedbcdd8f28fd8a393e441f9b5c5b452ac8d84ed22 /docker-compose
parent0080c61eac898345062110b29ed1e678af056ac5 (diff)
Improve alert with mininimal interval/duration configuration keys #2558
Diffstat (limited to 'docker-compose')
-rwxr-xr-xdocker-compose/glances.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf
index ab75a0ee..50ca289d 100755
--- a/docker-compose/glances.conf
+++ b/docker-compose/glances.conf
@@ -441,6 +441,12 @@ disable=False
disable=False
# Maximum number of alerts to display (default is 10)
;max_events=10
+# Minimum duration for an event to be taken into account (default is 6 seconds)
+;min_duration=6
+# Minimum time between two events of the same type (default is 6 seconds)
+# This is used to avoid too many alerts for the same event
+# Events will be merged
+;min_interval=6
##############################################################################
# Client/server