summaryQuantiles

fun summaryQuantiles(name: String, block: SummaryBuilder.() -> Unit, quantiles: List<Quantiles.Quantile>, maxAgeSeconds: Long = 60, ageBuckets: Int = 5): Summary

Creates a summary with predefined quantiles.

Return

A configured Summary instance.

Parameters

name

The name of the summary.

block

A configuration block for the summary.

quantiles

A list of Quantiles.Quantile to include in the summary.

maxAgeSeconds

The maximum age of observations in seconds. Defaults to 60.

ageBuckets

The number of buckets to divide the observation window into. Defaults to 5.