defaultTelemetry forwards to the package-level helpers in pkg/telemetry. They look up the optional client from context and no-op when none is present, so this is safe to use in tests that haven't called telemetry.WithClient on their context.
| 35 | // present, so this is safe to use in tests that haven't called |
| 36 | // telemetry.WithClient on their context. |
| 37 | type defaultTelemetry struct{} |
| 38 | |
| 39 | func (defaultTelemetry) RecordSessionStart(ctx context.Context, agentName, sessionID string) { |
| 40 | telemetry.RecordSessionStart(ctx, agentName, sessionID) |
nothing calls this directly
no outgoing calls
no test coverage detected