Versions in this module Expand all Collapse all v0 v0.1.61 Oct 20, 2026 v0.1.60 Oct 19, 2026 Changes in this version + const RowKind + func Kind() *tracing.Handler[Params, StatementRow] + func NormalizeSQL(statement string) string + func RepeatKey(statement string) string + func ResultType() recordresults.ResultType[StatementRow] + func WindowVars(rows iter.Seq[StatementRow]) map[string]any + type Accumulator struct + func NewAccumulator() *Accumulator + func (a *Accumulator) Add(row StatementRow) + func (a *Accumulator) Result() Summary + type Params struct + Connections []string + MinDuration string + func (p Params) Validate() error + type Repeat struct + Count int + DurationMs float64 + Key string + SQL string + type StatementRow struct + Args []any + Connection string + Driver string + DurationMs float64 + Error string + Op string + RepeatKey string + Rows int64 + SQL string + StartedAt time.Time + Tables []string + func FromStatement(statement connection.Statement) StatementRow + func (StatementRow) Columns() []api.ColumnDef + func (r StatementRow) Row() map[string]any + type Summary struct + AvgDurationMs float64 + ByOp map[string]int + DurationMs float64 + Errors int + MaxDurationMs float64 + P95DurationMs float64 + Repeated int + Repeats []Repeat + Rows int64 + Statements int + Tables []string + WindowMs float64 + func Summarize(rows []StatementRow) Summary + func (s Summary) Pretty() api.Text