Details
-
Improvement
-
Status: Done
-
High
-
Resolution: Done
-
2.9.1
-
0
-
Platform Sprint 28, Platform Sprint 29 (2.12+a2)
-
Yes
-
Yes
-
Yes
Description
For delayed slaves, the MySQL Replication Delay graph is always showing lag (the value of the delay)
The PromQL should be:
avg by (service_name) (max_over_time(mysql_slave_status_seconds_behind_master{service_name=~"$service_name"}[5m])-max_over_time(mysql_slave_status_sql_delay{service_name=~"$service_name}[5m]))