method ISummary.observe
ISummary.observe(
value: number,
labels?: Readonly<Record<string, string>>
): void

Records an observation (sample).

Parameters

value: number

The observed value

optional
labels: Readonly<Record<string, string>>

Label values keyed by label name

Return Type

void

Usage

import { type ISummary } from "common/src/index.ts";