-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql.replication.seconds_behind_master remains 0 when slave is stopped or broken #425
Comments
Another possibility would be to have the metric count seconds after the On Wed, Mar 27, 2013 at 9:50 AM, Dan Crosta notifications@github.comwrote:
|
If the replication is broken for any reason it seems that |
Released with 4.0.1 |
With the metric |
If you stop a MySQL slave (or if its replication becomes broken due to corruption on the master or an un-replicate-able event in the binlog), the field
Seconds_Behind_Master
becomesNULL
. According to metric explorer, the value remains "0" for this metric, even though that's (very likely) not true.I would propose that either:
If you'd like to do option 1 or 3, I'm happy to do the work and send a pull request. Option 2 probably requires more time than I could commit to.
The text was updated successfully, but these errors were encountered: