Histogram is a client-side aggregation of values, such as request latencies. A histogram is a good choice if you are interested in value statistics. For example: How many requests take fewer than 1s?. Histograms are obtained from a Meter as shown below:
DoubleGauge histogram = meter
.gaugeBuilder("my-histogram")
.setDescription("My test histogram")
.setUnit("my-unit")
.build();
histogram.set(25);