Modifier and Type | Method and Description |
---|---|
Histogram.Builder |
bucketListener(BucketListener<T> listener)
Typically called by a registry implementation for dynamically adding bucket counters.
|
Histogram<T> |
create(java.util.concurrent.TimeUnit baseTimeUnit,
Histogram.Type defaultType)
Typically called by a registry implementation, which knows what its base unit of time and
standard histogram type is.
|
Histogram.Builder |
type(Histogram.Type type)
Set the histogram type explicitly, overriding the monitoring system's default histogram type.
|
Histogram.Builder |
usedForPercentiles()
Hacky, but Atlas :percentiles math requires a different tag key than what we would place on
an ordinary histogram
|
Histogram<T> create(java.util.concurrent.TimeUnit baseTimeUnit, Histogram.Type defaultType)
Histogram.Builder bucketListener(BucketListener<T> listener)
Histogram.Builder type(Histogram.Type type)
Histogram.Builder usedForPercentiles()