DiagnosticMetricSample Class
Class representing Diagnostic Metric.
Constructor
DiagnosticMetricSample(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
timestamp
|
Time at which metric is measured. |
|
role_instance
|
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
|
Total value of the metric. If multiple measurements are made this will have sum of all. |
|
maximum
|
Maximum of the metric sampled during the time period. |
|
minimum
|
Minimum of the metric sampled during the time period. |
|
is_aggregated
|
Whether the values are aggregates across all workers or not. |
Attributes
is_aggregated
Whether the values are aggregates across all workers or not.
is_aggregated: bool | None
maximum
Maximum of the metric sampled during the time period.
maximum: float | None
minimum
Minimum of the metric sampled during the time period.
minimum: float | None
role_instance
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.
role_instance: str | None
timestamp
Time at which metric is measured.
timestamp: datetime | None
total
Total value of the metric. If multiple measurements are made this will have sum of all.
total: float | None