Monitoring of Kafka source connector

Hi, is there any convenient way to monitor lag/delay between oplog and kafka source connector? We got an incident of losing offset due to oplog shrunk window, so now we would like to monitor it.