Manual:Hooks/ApiMaxLagInfo

Details
Use this to override lag information. Generally a hook function should only replace  if the new   is greater than the current.


 * : Maximum lag information array. Fields in the array are:
 * is the number of seconds of lag.
 * is the host name on which the lag exists.
 * is an indication of the type of lag, e.g. "db" for database replication lag or "jobqueue" for job queue size converted to pseudo-seconds.
 * It is possible to add more fields and they will be returned to the user in the API response.