MetricBoundaries.ts overview
Since v2.0.0
Exports Grouped by Category
constructors
exponential
A helper method to create histogram bucket boundaries for a histogram with exponentially increasing values.
Signature
declare const exponential: (options: {
readonly start: number
readonly factor: number
readonly count: number
}) => MetricBoundaries
Since v2.0.0
fromIterable
Signature
declare const fromIterable: (iterable: Iterable<number>) => MetricBoundaries
Since v2.0.0
linear
A helper method to create histogram bucket boundaries for a histogram with linear increasing values.
Signature
declare const linear: (options: {
readonly start: number
readonly width: number
readonly count: number
}) => MetricBoundaries
Since v2.0.0
models
MetricBoundaries (interface)
Signature
export interface MetricBoundaries extends Equal.Equal, Pipeable {
readonly [MetricBoundariesTypeId]: MetricBoundariesTypeId
readonly values: ReadonlyArray<number>
}
Since v2.0.0
refinements
isMetricBoundaries
Signature
declare const isMetricBoundaries: (u: unknown) => u is MetricBoundaries
Since v2.0.0
symbols
MetricBoundariesTypeId
Signature
declare const MetricBoundariesTypeId: unique symbol
Since v2.0.0
MetricBoundariesTypeId (type alias)
Signature
type MetricBoundariesTypeId = typeof MetricBoundariesTypeId
Since v2.0.0