Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ observeDuration
Method
observeDuration
stats.go:156–158 ·
view source on GitHub ↗
(v time.Duration)
Source
from the content-addressed store, hash-verified
154
}
155
156
func
(s *summary) observeDuration(v time.Duration) {
157
s.observe(int64(v))
158
}
159
160
func
(s *summary) snapshot() SummaryStats {
161
avg := int64(0)
Callers
2
initialize
Method · 0.80
read
Method · 0.80
Calls
1
observe
Method · 0.95
Tested by
no test coverage detected