Versions in this module Expand all Collapse all v0 v0.1.3 Jul 15, 2026 Changes in this version + const CounterChildProcs + const CounterGoroutines + const CounterHeapLive + const CounterOpenFDs + const DefaultInterval + const DefaultWindow + const EnvContention + const EnvDir + const EnvLeakWatch + const MemberAllocs + const MemberBlock + const MemberCPU + const MemberGoroutine + const MemberGoroutineLbl + const MemberGoroutineTxt + const MemberHeap + const MemberManifest + const MemberMutex + const MemberThreadcreate + const MemberTimeline + const Unknown + func DefaultThresholds() map[string]Threshold + func LabelGoroutine(ctx context.Context, kv ...string) context.Context + func Labeled(ctx context.Context, fn func(context.Context), kv ...string) + func Profiling() bool + func RedactArgs(args []string) []string + type Bundle struct + func Start(cfg Config) (*Bundle, error) + func (b *Bundle) Annotate(key, value string) + func (b *Bundle) Dir() string + func (b *Bundle) ID() string + func (b *Bundle) Stop() error + type Config struct + Args []string + Children func() int + Clock clock.Timing + Contention bool + Counters []Counter + Dir string + Interval time.Duration + Leak *LeakConfig + func FromEnv(cfg Config) Config + type Counter struct + Name string + Read func() float64 + type Finding struct + Counter string + Delta float64 + Dumps []string + First float64 + Last float64 + Slope float64 + Window []Sample + func (f Finding) At() time.Time + type LeakConfig struct + Logger observe.Logger + Repeat bool + Thresholds map[string]Threshold + Window int + type Manifest struct + Annotations map[string]string + Arch string + Args []string + BundleID string + Contention bool + EndedAt time.Time + FlynnVersion string + GoVersion string + Members []Member + NumCPU int + OS string + Revision string + SampleIntervalMs int64 + StartedAt time.Time + type Member struct + Bytes int64 + Name string + SHA256 string + type Sample struct + ChildProcs int + Extra map[string]float64 + Frees uint64 + GCPauseTotalNs uint64 + Goroutines int + HeapAllocBytes uint64 + HeapLiveBytes int64 + HeapObjects uint64 + HeapSysBytes uint64 + Mallocs uint64 + NumGC uint32 + OpenFDs int + T time.Time + Threads int + type Threshold struct + MinDelta float64 + MinSlope float64