Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithExporterForTest ¶
WithExporterForTest supplies an in-process exporter while preserving Start's normal ownership and enablement rules.
Types ¶
type APIRequest ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session owns a private provider and one command root span. It deliberately does not install a process-global TracerProvider.
func FromContext ¶
func (*Session) NextOperationID ¶
func (*Session) RecordCredentialOutcome ¶ added in v0.2.1
RecordCredentialOutcome records a fixed, secret-free credential lifecycle outcome on the command span. Callers must pass only enumerated values.
func (*Session) RegisterIdentity ¶
func (s *Session) RegisterIdentity(credentialKey string, resolver IdentityResolver)
func (*Session) StartAPI ¶
func (s *Session) StartAPI(request APIRequest) func(error)
StartAPI starts a direct child of the command root span. The returned function records only a coarse outcome; it never records the error itself.
Click to show internal directories.
Click to hide internal directories.