updated to reflect replication lag returned as timedelta