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

Method RecordSessionEnd

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

RecordSessionEnd is fired when the run loop exits.

(ctx context.Context)

Source from the content-addressed store, hash-verified

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.
26 RecordError(ctx context.Context, message string)
27 // RecordToolCall is fired after every tool invocation, regardless of outcome.

Callers 4

TestSessionTrackingFunction · 0.65
TestAllEventTypesFunction · 0.65
RecordSessionEndFunction · 0.65
finalizeEventChannelMethod · 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