Versions in this module Expand all Collapse all v1 v1.1.0 Sep 7, 2026 v1.0.0 Aug 30, 2026 Changes in this version + type ErrorKind string + const ErrorAnalysis + const ErrorCancelled + const ErrorDeadline + const ErrorInternal + const ErrorInvalidInput + const ErrorNone + const ErrorSubprocess + type Event struct + Analysis time.Duration + AnalyzerDurations map[string]time.Duration + Args any + Duration time.Duration + ErrorKind ErrorKind + FindingsBySeverity map[string]int + PackagesLoad time.Duration + ResultSummary string + Tool string + type Record struct + AnalysisMS int64 + AnalyzerDurationsMS map[string]int64 + ArgsHash string + DurationMS int64 + Error bool + ErrorKind ErrorKind + FindingsBySeverity map[string]int + PackagesLoadMS int64 + ResultSummary string + Timestamp time.Time + Tool string + type Summary struct + Enabled bool + RecordsConsidered int + Tools []ToolSummary + Truncated bool + type ToolSummary struct + Calls int + ErrorCount int + P50DurationMS int64 + P99DurationMS int64 + Tool string + type Tracer struct + func Init() (*Tracer, error) + func NewWithBaseDir(baseDir string) (*Tracer, error) + func (t *Tracer) Close() error + func (t *Tracer) Record(event Event) error + func (t *Tracer) Summary() (Summary, error)