summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-08-23 22:25:28 +0300
committerGitHub <noreply@github.com>2022-08-23 22:25:28 +0300
commitae018a966a3b191669e4e1b7e87abf53822ace44 (patch)
tree6a699a50aea3c0506561bd737cd8881957905b23 /health
parent331b52b94a1b19d3ad03de7560047de1a7e0f661 (diff)
fix(health.d/mysql): adjust `mysql_galera_cluster_size_max_2m` lookup to make time in warn/crit predictable (#13563)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/mysql.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.d/mysql.conf b/health/health.d/mysql.conf
index 6b705c34da..3941c71cc7 100644
--- a/health/health.d/mysql.conf
+++ b/health/health.d/mysql.conf
@@ -114,10 +114,10 @@ component: MySQL
class: Utilization
type: Database
component: MySQL
- lookup: max -2m absolute
+ lookup: max -2m at -1m unaligned
units: nodes
every: 10s
- info: maximum galera cluster size in the last 2 minutes
+ info: maximum galera cluster size in the last 2 minutes starting one minute ago
to: dba
template: mysql_galera_cluster_size