Telemetry.Metrics v0.4.1 Telemetry.Metrics.Distribution View Source
Defines a specification of distribution metric.
Link to this section Summary
Link to this section Types
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]
Link to this type
t()
View Sourcet() :: %Telemetry.Metrics.Distribution{ buckets: buckets(), description: Telemetry.Metrics.description(), event_name: :telemetry.event_name(), measurement: Telemetry.Metrics.measurement(), name: Telemetry.Metrics.normalized_metric_name(), reporter_options: Telemetry.Metrics.reporter_options(), tag_values: (:telemetry.event_metadata() -> :telemetry.event_metadata()), tags: Telemetry.Metrics.tags(), unit: Telemetry.Metrics.unit() }