java - What does "biased" mean in "Metrics" histogram -
one of properties codahale's "metrics" received "biased".
can explain mean?
public histogram newhistogram(class<?> klass, string name, boolean biased) creates new histogram , registers under given class , name. parameters: klass - class owns metric name - name of metric biased - whether or not histogram should biased returns: new histogram
when in doubt, @ source:
/** * uses exponentially decaying sample of 1028 elements, offers 99.9% confidence * level 5% margin of error assuming normal distribution, , alpha factor of * 0.015, heavily biases sample past 5 minutes of measurements. */ biased { @override public sample newsample() { return new exponentiallydecayingsample(default_sample_size, default_alpha); } };
a biased histogram 1 gives more weight more recent measurements.