Telemetry.Metrics v0.4.1 Telemetry.Metrics.Distribution View Source

Defines a specification of distribution metric.

Link to this section Summary

Types

Distribution metric bucket boundaries.

t()

Link to this section Types

Link to this type

buckets()

View Source
buckets() :: [number(), ...]

Distribution metric bucket boundaries.

Bucket boundaries are represented by a non-empty list of increasing numbers.

Examples

[0, 100, 200, 300]
# Buckets: [-inf, 0], [0, 100], [100, 200], [200, 300], [300, +inf]

[99.9]
# Buckets: [-inf, 99.9], [99.9, +inf]