package
1.68.0
Repository: https://github.com/fortio/fortio.git
Documentation: pkg.go.dev

# Functions

Merge two different histogram with different scale parameters Lowest offset and highest divider value will be selected on new Histogram as scale parameters.
NewHistogram creates a new histogram (sets up the buckets).
NewOccurrence create a new occurrence (map).
ParsePercentiles extracts the percentiles from string (flag).
Round rounds to 4 digits after the decimal point.
RoundToDigits rounds the input to digits number of digits after decimal point.

# Structs

Bucket is the data for 1 bucket: an Interval and the occurrence Count for that interval.
Counter is a type whose instances record values and calculate stats (count, average, min, max, and stddev).
Histogram extends Counter and adds a histogram.
HistogramData is the exported Histogram data, a sorted list of intervals covering [Min, Max].
Interval is a range from start to end.
Occurrence is a type that stores the occurrences of the keys.
Percentile value for the percentile.