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 }
Aggregate is an aggregate of latencies.
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
- v1.35.0 (latest)
- Published
- Jan 22, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 6 days ago –
Tools for package owners.