Versions in this module Expand all Collapse all v2 v2.16.1 Nov 27, 2026 v2.16.0 Nov 27, 2026 v2.15.0 Nov 25, 2026 v2.14.0 Nov 22, 2026 v2.13.0 Nov 22, 2026 v2.12.0 Nov 20, 2026 v2.11.2 Nov 18, 2026 v2.11.1 Nov 17, 2026 v2.11.0 Nov 17, 2026 v2.10.0 Nov 16, 2026 v2.9.0 Nov 9, 2026 Changes in this version + const DefaultKeep + const DefaultMaxSize + const DefaultMaxUpload + const IndexEvery + const MaxNodes + const TopN + const Type + var ErrBadOffset = errors.New("offset is not the start of a call") + var ErrNotFormat1 = errors.New(...) + var ErrTooLarge = errors.New("trace is larger than the limit") + func TempDir(base string) (string, error) + type Call struct + File string + Func string + Incl float64 + Level int + Line int + Memory int64 + Nr int + Offset int64 + Self float64 + Start float64 + type FuncStat struct + Count int + Func string + Incl float64 + Self float64 + User bool + type Header struct + End string + EndMemory int64 + EndTime float64 + FileFormat int + Start string + Version string + type Kind byte + const Assign + const Entry + const Exit + const Return + type Limits struct + Keep int + MaxSize int64 + MaxUpload int64 + type Module struct + func New(dir string, limits Limits) *Module + func (m *Module) HTTPHandler() module.HTTPIngestionHandler + func (m *Module) Name() string + func (m *Module) OnEventStored(ev event.Event) + func (m *Module) OnEventsDeleted(uuids []string) + func (m *Module) OnInit(db *sql.DB) error + func (m *Module) PreviewMapper() event.PreviewMapper + func (m *Module) RegisterMCPTools(server *sdkmcp.Server) + func (m *Module) RegisterProtectedRoutes(mux *http.ServeMux, protect func(http.Handler) http.Handler) + func (m *Module) RegisterRoutes(_ *http.ServeMux, store event.Store) + func (m *Module) Type() string + type Node struct + Args []string + Children int + Done bool + File string + Func string + Incl float64 + Include string + Level int + Line int + Memory int64 + Nr int + Offset int64 + Path []PathItem + Return *string + Self float64 + Start float64 + User bool + type Page struct + Next *int64 + Nodes []Node + Parent *Node + Truncated bool + func Children(r io.Reader, sizeLimit, parent, from int64, limit int) (*Page, error) + func Search(r io.Reader, sizeLimit int64, q string, from int64, limit int) (*Page, error) + type PathItem struct + Func string + Nr int + Offset int64 + type Payload struct + Compressed bool + File string + Name string + Size int64 + Summary *Summary + URL string + type Point struct + Level int + Nr int + Offset int64 + type Reader struct + Cut bool + Header Header + func NewReader(r io.Reader, limit int64) (*Reader, error) + func (t *Reader) Next() (Record, error) + func (t *Reader) Offset() int64 + func (t *Reader) SkipTo(off int64) error + type Record struct + Args []string + File string + Func string + Include string + Kind Kind + Level int + Line int + Memory int64 + Nr int + Time float64 + User bool + Value string + type Summary struct + Assignments int + Calls int + Duration float64 + Index []Point + Main string + MaxDepth int + PeakMemory int64 + Returns bool + Slowest []Call + Top []FuncStat + Truncated bool + UserCalls int + func Summarize(r io.Reader, limit int64) (*Summary, error)