package stat
import "cloud.google.com/go/bigtable/internal/stat"
Index ¶
Functions ¶
func WriteCSV ¶
WriteCSV writes a csv file to the given Writer, with a header row and one row per aggregate.
Types ¶
type Aggregate ¶
type Aggregate struct { Name string Count, Errors int Min, Median, Max time.Duration P75, P90, P95, P99 time.Duration // percentiles }
func NewAggregate ¶
NewAggregate constructs an aggregate from latencies. Returns nil if latencies does not contain aggregateable data.
func (*Aggregate) String ¶
Source Files ¶
stats.go
- Version
- v0.7.0
- Published
- Mar 10, 2017
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 32 seconds ago –
Tools for package owners.