MCPcopy Index your code
hub / github.com/docker/docker-agent / RecordSessionStart

Method RecordSessionStart

pkg/runtime/telemetry.go:22–22  ·  view source on GitHub ↗

RecordSessionStart is fired once at the top of RunStream.

(ctx context.Context, agentName, sessionID string)

Source from the content-addressed store, hash-verified

20type Telemetry interface {
21 // RecordSessionStart is fired once at the top of RunStream.
22 RecordSessionStart(ctx context.Context, agentName, sessionID string)
23 // RecordSessionEnd is fired when the run loop exits.
24 RecordSessionEnd(ctx context.Context)
25 // RecordError is fired when the run loop or a model call surfaces a fatal error.

Callers 4

TestSessionTrackingFunction · 0.65
TestAllEventTypesFunction · 0.65
RecordSessionStartFunction · 0.65
runStreamLoopMethod · 0.65

Implementers 3

Clientpkg/telemetry/types.go
recordingTelemetrypkg/runtime/telemetry_test.go
defaultTelemetrypkg/runtime/telemetry.go

Calls

no outgoing calls

Tested by 2

TestSessionTrackingFunction · 0.52
TestAllEventTypesFunction · 0.52