Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bucket ¶
type Bucket struct {
// Min is the inclusive lower bound of the range.
Min int
// Max is the inclusive upper bound of the range.
Max int
// Score is the probability returned when the metric falls within this bucket.
Score float64
}
Bucket defines a range [Min, Max] mapped to a probability Score.
Click to show internal directories.
Click to hide internal directories.