Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Fields
Method
Fields
coderd/usage/usagetypes/events.go:124–124 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
122
EventType() UsageEventType
123
Valid() error
124
Fields()
map
[string]any
// fields to be marshaled and sent to tallyman/Metronome
125
}
126
127
// DiscreteEvent is a usage event that is collected as a discrete event.
Callers
15
chatTitleFromMessage
Function · 0.65
pgDumpUsable
Function · 0.65
subagentFallbackChatTitle
Function · 0.65
normalizeShortTextOutput
Function · 0.65
validateGeneratedTitle
Function · 0.65
fallbackChatTitle
Function · 0.65
normalizeTurnStatusLabel
Function · 0.65
parseScopes
Function · 0.65
extractAuthorizeParams
Function · 0.65
ExtractAuthToken
Function · 0.65
TestParseEventWithType
Function · 0.65
parse
Function · 0.65
Implementers
2
DCManagedAgentsV1
coderd/usage/usagetypes/events.go
HBAISeats
coderd/usage/usagetypes/events.go
Calls
no outgoing calls
Tested by
5
parseScopes
Function · 0.52
TestParseEventWithType
Function · 0.52
compareTables
Function · 0.52
jsoninate
Function · 0.52
TestSlogExporter
Function · 0.52