ErrorBytesCounter returns CounterValue for the number of bytes.
(v int64)
| 39 | |
| 40 | // ErrorBytesCounter returns CounterValue for the number of bytes. |
| 41 | func ErrorBytesCounter(v int64) CounterValue { |
| 42 | return CounterValue{v, "bytes", "error"} |
| 43 | } |
| 44 | |
| 45 | // ErrorCounter returns simple numeric CounterValue without units. |
| 46 | func ErrorCounter(v int64) CounterValue { |
no outgoing calls