OptionalageConfigure how many buckets in the sliding window
An optional function invoked to calculate the component metric instead of
using .observe
OptionalcompressControl compression of data in t-digest
OptionalhelpOptional help for the metric
OptionallabelOptional label for the metric
OptionalmaxConfigure how old a bucket can be before it is reset for sliding window
OptionalpercentilesPercentiles for the summary
OptionalpruneRemove entries without any new values in the last maxAgeSeconds
Create tracked metrics that are expensive to calculate by passing a function that is only invoked when metrics are being scraped