[]previous and next page

HistogramLike

A histogram, with the OpenTelemetry Histogram.record signature.

A histogram, with the OpenTelemetry Histogram.record signature.

Import#

ts
import type { HistogramLike } from "@shadow-js/dusk/server";

Signature#

ts
interface HistogramLike {
  record(value: number, attributes?: Readonly<Record<string, string | number | boolean>>): unknown;
}

Members#

Name Type Description
record record(value: number, attributes?: Readonly<Record<string, string | number | boolean>>): unknown