DiagnosticMetricSample Class

Class representing Diagnostic Metric.

Inheritance
DiagnosticMetricSample

Constructor

DiagnosticMetricSample(*, timestamp: Optional[datetime.datetime] = None, role_instance: Optional[str] = None, total: Optional[float] = None, maximum: Optional[float] = None, minimum: Optional[float] = None, is_aggregated: Optional[bool] = None, **kwargs)

Parameters

timestamp
datetime
Required

Time at which metric is measured.

role_instance
str
Required

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.

total
float
Required

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

maximum
float
Required

Maximum of the metric sampled during the time period.

minimum
float
Required

Minimum of the metric sampled during the time period.

is_aggregated
bool
Required

Whether the values are aggregates across all workers or not.