MCPcopy
hub / github.com/docker/docker-agent / StructuredEvent

Interface StructuredEvent

pkg/telemetry/types.go:12–15  ·  view source on GitHub ↗

EVENTS BASE StructuredEvent represents a type-safe telemetry event with structured properties

Source from the content-addressed store, hash-verified

10
11// StructuredEvent represents a type-safe telemetry event with structured properties
12type StructuredEvent interface {
13 GetEventType() EventType
14 ToStructuredProperties() any
15}
16
17// Simplified event system - event types are now just strings in the Event.Event field
18

Callers 2

trackMethod · 0.65
trackMethod · 0.65

Implementers 5

CommandEventpkg/telemetry/types.go
ToolEventpkg/telemetry/types.go
TokenEventpkg/telemetry/types.go
SessionStartEventpkg/telemetry/types.go
SessionEndEventpkg/telemetry/types.go

Calls

no outgoing calls

Tested by

no test coverage detected