added functionality for oplog metrics