Interface: ITelemetryMetricValuePayload
The details of a metric value handed to the background thread to be written.
Properties
valueId
valueId:
string
The id the metric value will be stored under, allocated by the connector so it can be returned to the caller before the value reaches storage.
metricId
metricId:
string
The id of the metric the value belongs to.
metricType
metricType:
MetricType
The type of the metric, used to apply the operation to the previous value.
operation
operation:
number|MetricCounterOperation
The operation to apply to the previous value.
ts
ts:
number
The time the value was captured.
maxHistory?
optionalmaxHistory?:number
The maximum number of values retained for the metric; undefined when the metric has no cap.
customData?
optionalcustomData?:object
The custom data for the metric value.
Index Signature
[key: string]: unknown
contextIds?
optionalcontextIds?:IContextIds
The partition context ids captured when the value was added; the write is performed under this context.