Skip to main content

Interface: ITelemetryMetric

Interface describing a telemetry metric.

Properties

id

id: string

The id of the metric.


label

label: string

The label of the metric.


type

type: MetricType

The type of the metric.


description?

optional description?: string

Description.


unit?

optional unit?: string

The unit the metric describes.


maxHistory?

optional maxHistory?: number

The maximum number of values to retain; oldest are trimmed on each addMetricValue call. Unlimited when absent.