Skip to main content

Interface: Metric<MetricNameType>

A single metric event.

Type parameters

NameType
MetricNameTypestring

Properties

name

name: MetricNameType

Name of the metric.


tags

tags: Record<string, string>

Set of tags for the metric.


timestamp

timestamp: number

Time associated with the metric. Milliseconds since UNIX epoch.


value

value: number

Value of the metric.