fix(health.d/mysql): adjust `mysql_galera_cluster_size_max_2m` lookup to make time in warn/crit predictable (#13563)
Ilya Mashchenko committed
Aug 23, 2022 at 22:25 UTC
ae018a966a3b191669e4e1b7e87abf53822ace44
1 file changed
+2
-2
health/health.d/mysql.conf
+2
-2
@@ -114,10 +114,10 @@ component: MySQL
114
class: Utilization
115
type: Database
116
component: MySQL
117
- lookup: max -2m absolute
117
+ lookup: max -2m at -1m unaligned
118
units: nodes
119
every: 10s
120
- info: maximum galera cluster size in the last 2 minutes
120
+ info: maximum galera cluster size in the last 2 minutes starting one minute ago
121
to: dba
122
123
template: mysql_galera_cluster_size