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

Function registerWorkLatency

pkg/workerpool/observability.go:171–173  ·  view source on GitHub ↗
(name string, start time.Time)

Source from the content-addressed store, hash-verified

169}
170
171func registerWorkLatency(name string, start time.Time) {
172 poolMetrics.workLatency.WithLabelValues(name).Observe(time.Since(start).Seconds())
173}

Callers 1

handleMethod · 0.85

Calls 1

WithLabelValuesMethod · 0.45

Tested by

no test coverage detected