osd: add perfcounters for new cache and agent events

See #7441