Histogram

public interface Histogram extends Metric, Counting, Sampling

Represents a metric that measures a distribution of values from a stream of data that changes over time.

Methods

update

void update(int value)

Update the histogram by recording a new value.

Parameters:
  • value – the value to record

update

void update(long value)

Update the histogram by recording a new value.

Parameters:
  • value – the value to record