Thanks to visit codestin.com
Credit goes to effect-ts.github.io

Skip to main content Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

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

Source

Since v2.0.0

fromIterable

Signature

declare const fromIterable: (iterable: Iterable<number>) => MetricBoundaries

Source

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

Source

Since v2.0.0

models

MetricBoundaries (interface)

Signature

export interface MetricBoundaries extends Equal.Equal, Pipeable {
  readonly [MetricBoundariesTypeId]: MetricBoundariesTypeId
  readonly values: ReadonlyArray<number>
}

Source

Since v2.0.0

refinements

isMetricBoundaries

Signature

declare const isMetricBoundaries: (u: unknown) => u is MetricBoundaries

Source

Since v2.0.0

symbols

MetricBoundariesTypeId

Signature

declare const MetricBoundariesTypeId: unique symbol

Source

Since v2.0.0

MetricBoundariesTypeId (type alias)

Signature

type MetricBoundariesTypeId = typeof MetricBoundariesTypeId

Source

Since v2.0.0