MetricBoundaries
Constructors
exponential
Added in v2.0.0
Source
A helper method to create histogram bucket boundaries for a histogram with exponentially increasing values.
Signature
declare const exponential: (options: { readonly count: number; readonly factor: number; readonly start: number;}) => MetricBoundariesfromIterable
Added in v2.0.0
Source
Signature
declare const fromIterable: (iterable: Iterable<number>) => MetricBoundariesA helper method to create histogram bucket boundaries for a histogram with linear increasing values.
Signature
declare const linear: (options: { readonly count: number; readonly start: number; readonly width: number;}) => MetricBoundariesModels
MetricBoundaries interface
Added in v2.0.0
Source
Signature
interface MetricBoundaries extends Equal, Pipeable { readonly [MetricBoundariesTypeId]: typeof MetricBoundariesTypeId; readonly values: readonly Array<number>;}Refinements
isMetricBoundaries
Added in v2.0.0
Source
Signature
declare const isMetricBoundaries: (u: unknown) => u is MetricBoundariesSymbols
MetricBoundariesTypeId
Added in v2.0.0
Source
Signature
declare const MetricBoundariesTypeId: unique symbolMetricBoundariesTypeId type
Added in v2.0.0
Source
Signature
type MetricBoundariesTypeId = typeof MetricBoundariesTypeId