MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / registerWorkProcessed

Function registerWorkProcessed

pkg/workerpool/observability.go:163–165  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

161}
162
163func registerWorkProcessed(ctx context.Context, name string) {
164 poolMetrics.workProcessed.WithLabelValues(ctx, name).Inc()
165}
166
167func registerWorkDropped(ctx context.Context, name string) {
168 poolMetrics.workDropped.WithLabelValues(ctx, name).Inc()

Callers 1

handleMethod · 0.85

Calls 1

WithLabelValuesMethod · 0.45

Tested by

no test coverage detected