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