adds percentile latency metering