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

Method recordFailedOperation

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

Source from the content-addressed store, hash-verified

60}
61
62func (s *ScaleSetClient) recordFailedOperation(operation string) {
63 metrics.GithubOperationFailedCount.WithLabelValues(
64 operation,
65 s.ghCli.GetEntity().LabelScope(),
66 ).Inc()
67}
68
69func (s *ScaleSetClient) SetGithubClient(cli common.GithubClient) {
70 s.mux.Lock()

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