你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiagnosticMetricSample Class
Class representing Diagnostic Metric.
- Inheritance
-
azure.mgmt.web._serialization.ModelDiagnosticMetricSample
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. |
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. |
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. |