Documentation
¶
Overview ¶
Package telemetry records only fixed operation names and classified outcomes. Never pass caller-controlled strings as operation names or attributes.
Index ¶
- func InjectTraceParent(ctx context.Context, header http.Header)
- type Observer
- func (o *Observer) ExportIntegrityFailure(ctx context.Context, kind string)
- func (o *Observer) ExtractionRejected(ctx context.Context, kind string)
- func (o *Observer) ExtractionResult(ctx context.Context, kind, outcome string, proposals, issues int)
- func (o *Observer) RecallFiltered(ctx context.Context, kind string, missing, ineligible int64)
- func (o *Observer) Start(ctx context.Context, stage string) (context.Context, *Operation)
- type Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Observer ¶
type Observer struct {
// contains filtered or unexported fields
}
func (*Observer) ExportIntegrityFailure ¶
ExportIntegrityFailure records a failed check, never an artifact identity.
func (*Observer) ExtractionRejected ¶
ExtractionRejected observes a durable pre-provider input-limit rejection.
func (*Observer) ExtractionResult ¶
func (o *Observer) ExtractionResult(ctx context.Context, kind, outcome string, proposals, issues int)
ExtractionResult observes successful result persistence, outside transaction retry callbacks. It is operational telemetry, not an exactly-once audit count.
func (*Observer) RecallFiltered ¶
RecallFiltered records completed ledger revalidation, outside retry callbacks. Missing versions and ineligible resolutions are distinct from malformed hits, duplicate hits, wrong kinds, scope exclusions and disclosure failures.