middleware/metrics: proto in size response as well
This commit is contained in:
parent
4c00e444f3
commit
11094409ac
3 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue