MCPcopy
hub / github.com/netdata/netdata / Limit

Function Limit

src/go/logger/default.go:29–31  ·  view source on GitHub ↗
(key string, n int, d time.Duration)

Source from the content-addressed store, hash-verified

27func When(cond bool) ConditionalLogger { return defaultLogger.When(cond) }
28func Once(key string) LimitedLogger { return defaultLogger.Once(key) }
29func Limit(key string, n int, d time.Duration) LimitedLogger {
30 return defaultLogger.Limit(key, n, d)
31}
32func ResetAllOnce() { defaultLogger.ResetAllOnce() }

Callers

nothing calls this directly

Calls 1

LimitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…