Add latency related metrics

Resolves #134