MCPcopy Create free account
hub / github.com/cloudbase/garm / recordOperation

Method recordOperation

util/github/scalesets/client.go:55–60  ·  view source on GitHub ↗
(operation string)

Source from the content-addressed store, hash-verified

53}
54
55func (s *ScaleSetClient) recordOperation(operation string) {
56 metrics.GithubOperationCount.WithLabelValues(
57 operation,
58 s.ghCli.GetEntity().LabelScope(),
59 ).Inc()
60}
61
62func (s *ScaleSetClient) recordFailedOperation(operation string) {
63 metrics.GithubOperationFailedCount.WithLabelValues(

Callers 15

GetRunnerMethod · 0.95
ListAllRunnersMethod · 0.95
GetRunnerByNameMethod · 0.95
RemoveRunnerMethod · 0.95
AcquireJobsMethod · 0.95
GetAcquirableJobsMethod · 0.95
CreateMessageSessionMethod · 0.95
DeleteMessageSessionMethod · 0.95
GetRunnerScaleSetByIDMethod · 0.95
ListRunnerScaleSetsMethod · 0.95

Calls 2

LabelScopeMethod · 0.80
GetEntityMethod · 0.65

Tested by

no test coverage detected