MCPcopy
hub / github.com/livekit/livekit / RecordServiceOperationError

Function RecordServiceOperationError

pkg/telemetry/prometheus/node.go:300–302  ·  view source on GitHub ↗
(op string, error string)

Source from the content-addressed store, hash-verified

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

Callers 5

createAndSendOfferMethod · 0.92
setRemoteDescriptionMethod · 0.92
createAndSendAnswerMethod · 0.92
doICERestartMethod · 0.92
JoinMethod · 0.92

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected