All Products
Search
Document Center

:Common data structures

Last Updated:May 29, 2023

Dimension

The dimension information of the metric.

Parameter

Type

Example

Description

Label

String

instanceId

The name of the metric dimension.

Value

String

i-dferwret*****

The value of the metric dimension.

Matcher

The dimension of the metric.

Parameter

Type

Example

Description

Value

String

instanceId

The value of the metric dimension.

Label

String

i-fewrewr*****

The name of the metric dimension.

Operator

String

EQUALS

The matching mode of the metric dimension. Only EQUALS is supported. Default value: EQUALS.

MetricStat

The data queried by BatchExport.

Parameter

Type

Example

Description

Namespace

String

acs_ecs_dashboard

The namespace of the cloud service.

Metric

String

cpu_idle

The metric that is used to monitor the cloud service.

Period

Integer

60

The time interval based on which the metric value is measured.

Unit: seconds.

Timestamp

Long

1641454680000

The timestamp of the monitoring data. Unit: milliseconds.

Dimensions

Array of Dimension

The dimension information that is used to identify the monitored object (instance).

Associated

Map

The additional information about the monitored object (instance).

Measurements

Map

The measured value of the metric. The parameter contains multiple values by default.

LogTime

Long

1683686550073

The recorded time of the monitoring data. Unit: milliseconds. For non-raw data (aggregated data), the value of LogTime is NULL.