in csrmetrics/csrmetrics.go [62:69]
func OutboundRPCStartRecorder(kind string) func(status OutboundRPCStatus) {
start := time.Now()
return func(status OutboundRPCStatus) {
outboundRPCCount.WithLabelValues(string(status), kind).Inc()
outboundRPCLatency.WithLabelValues(string(status), kind).Observe(timeSinceSeconds(start))
}
}