Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Aggregate ¶
type Aggregate struct {
Name string
Count, Errors int
Min, Median, Max time.Duration
P75, P90, P95, P99 time.Duration // percentiles
}
Aggregate is an aggregate of latencies.
func NewAggregate ¶
NewAggregate constructs an aggregate from latencies. Returns nil if latencies does not contain aggregateable data.
Source Files
¶
- stats.go
Click to show internal directories.
Click to hide internal directories.