MetricBoundaries
Constructors
exponential
Added in v2.0.0
Source
Signature
declare const exponential: (options: {
readonly count: number;
readonly factor: number;
readonly start: number;
}) => MetricBoundaries;fromIterable
Added in v2.0.0
Source
Signature
declare const fromIterable: (iterable: Iterable<number>) => MetricBoundaries;A 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;
}) => MetricBoundaries;Models
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 MetricBoundaries;Symbols
MetricBoundariesTypeId
Added in v2.0.0
Source
Signature
declare const MetricBoundariesTypeId: unique symbol;MetricBoundariesTypeId type
Added in v2.0.0
Source
Signature
type MetricBoundariesTypeId = typeof MetricBoundariesTypeId;
A helper method to create histogram bucket boundaries for a histogram with exponentially increasing values.