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?
optionaldescription?:string
Description.
unit?
optionalunit?:string
The unit the metric describes.
maxHistory?
optionalmaxHistory?:number
The maximum number of values to retain; oldest are trimmed on each addMetricValue call. Unlimited when absent.