共用方式為


DiagnosticMetricSample Class

Definition

Class representing Diagnostic Metric

public class DiagnosticMetricSample
type DiagnosticMetricSample = class
Public Class DiagnosticMetricSample
Inheritance
DiagnosticMetricSample

Constructors

DiagnosticMetricSample()

Initializes a new instance of the DiagnosticMetricSample class.

DiagnosticMetricSample(Nullable<DateTime>, String, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

Initializes a new instance of the DiagnosticMetricSample class.

Properties

IsAggregated

Gets or sets whether the values are aggregates across all workers or not

Maximum

Gets or sets maximum of the metric sampled during the time period

Minimum

Gets or sets minimum of the metric sampled during the time period

RoleInstance

Gets or sets 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

Gets or sets time at which metric is measured

Total

Gets or sets total value of the metric. If multiple measurements are made this will have sum of all.

Applies to