func NewUniformSample(reservoirSize int) gometrics.Sample {
	return &UniformSample{
		reservoirSize: reservoirSize,
		values:        make([]int64, 0, reservoirSize),
	}
}
NewUniformSample constructs a new uniform sample with the given reservoir
size.
package metrics
import (
	gometrics "github.com/rcrowley/go-metrics"
	"sync"
)
type UniformSample struct {
	count         int64
	mutex         sync.Mutex
	reservoirSize int
	values        []int64
}