Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ Log
Method
Log
pkg/util/log/rate_limited_logger.go:32–39 ·
view source on GitHub ↗
(keyvals ...interface{})
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(l *RateLimitedLogger) Log(keyvals ...
interface
{}) {
33
if
!l.limiter.AllowN(time.Now(), 1) {
34
metricDropedLines.Inc()
35
return
36
}
37
38
_ = l.logger.Log(keyvals...)
39
}
Callers
1
TestRateLimitedLogger
Function · 0.95
Calls
3
Now
Method · 0.65
Inc
Method · 0.65
Log
Method · 0.65
Tested by
1
TestRateLimitedLogger
Function · 0.76