package main
import (
"fmt"
"github.com/codahale/hdrhistogram"
)
func main() {
h := hdrhistogram.New(0, 200, 4)
err := h.RecordValue(11)
fmt.Println(err)
}
produced this
$ go run y.go
value 11 is too large to be recorded
Then I checked the unit tests, and they all use 1 as the min. Is 1 the minimum minimum? I'm happy to send a documentation patch if you think this should be explicitly warned about.
I was perplexed that this
produced this
Then I checked the unit tests, and they all use 1 as the min. Is 1 the minimum minimum? I'm happy to send a documentation patch if you think this should be explicitly warned about.