mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
middleware/metrics: proto in size response as well
This commit is contained in:
@@ -49,6 +49,6 @@ func Report(state middleware.State, zone, rcode string, size int, start time.Tim
|
||||
requestDo.WithLabelValues(zone).Inc()
|
||||
}
|
||||
|
||||
responseSize.WithLabelValues(zone).Observe(float64(size))
|
||||
responseSize.WithLabelValues(zone, net).Observe(float64(size))
|
||||
responseRcode.WithLabelValues(zone, rcode).Inc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user