Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ AddTokens
Method
AddTokens
scaletest/bridge/metrics.go:70–72 ·
view source on GitHub ↗
(tokenType string, count int64)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(m *Metrics) AddTokens(tokenType string, count int64) {
71
m.bridgeTokensTotal.WithLabelValues(tokenType).Add(float64(count))
72
}
Callers
3
handleCompletionsResponse
Method · 0.80
handleResponsesResponse
Method · 0.80
handleMessagesResponse
Method · 0.80
Calls
2
WithLabelValues
Method · 0.80
Add
Method · 0.65
Tested by
no test coverage detected