Compartir a través de


DiagnosticMetricSample interface

Class representing Diagnostic Metric

Properties

isAggregated

Whether the values are aggregates across all workers or not

maximum

Maximum of the metric sampled during the time period

minimum

Minimum of the metric sampled during the time period

roleInstance

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis

timestamp

Time at which metric is measured

total

Total value of the metric. If multiple measurements are made this will have sum of all.

Property Details

isAggregated

Whether the values are aggregates across all workers or not

isAggregated?: boolean

Property Value

boolean

maximum

Maximum of the metric sampled during the time period

maximum?: number

Property Value

number

minimum

Minimum of the metric sampled during the time period

minimum?: number

Property Value

number

roleInstance

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis

roleInstance?: string

Property Value

string

timestamp

Time at which metric is measured

timestamp?: Date

Property Value

Date

total

Total value of the metric. If multiple measurements are made this will have sum of all.

total?: number

Property Value

number