(op string, error string)
| 298 | } |
| 299 | |
| 300 | func RecordServiceOperationError(op string, error string) { |
| 301 | promServiceOperationCounter.WithLabelValues(op, "error", error).Add(1) |
| 302 | } |
| 303 | |
| 304 | func RecordTwirpRequestStatus(service string, method string, statusFamily string, code twirp.ErrorCode) { |
| 305 | promTwirpRequestStatusCounter.WithLabelValues(service, method, statusFamily, string(code)).Add(1) |
no test coverage detected