core: Add TODO for metrics work
This commit is contained in:
parent
b2273d4153
commit
aca18332d1
|
@ -29,6 +29,7 @@ func (m Metrics) incRequestsTotal(method string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Rework to only store error code
|
||||||
// incErrorsTotal increases the counter for this error atomically by one.
|
// incErrorsTotal increases the counter for this error atomically by one.
|
||||||
func (m Metrics) incErrorsTotal(err HTTPError) {
|
func (m Metrics) incErrorsTotal(err HTTPError) {
|
||||||
ptr := m.ErrorsTotal.retrievePointerFor(err)
|
ptr := m.ErrorsTotal.retrievePointerFor(err)
|
||||||
|
|
Loading…
Reference in New Issue