A single recorded measurement.

Constructors

Properties

Constructors

Properties

labels: Record<string, undefined | string | number>

The combination of labels that this sample applies to.

name: string

Metric name (e.g. 'http_requests_total').

Metric type.

value: number

One sample value (cumulative for counter, gauge value, histogram bucket/summary).