Updated on 2023-06-25 GMT+08:00

MetricData

Table 1 Parameters

Parameter

Type

Mandatory

Description

name

String

Yes

Service name.

appId

String

Yes

Application ID.

serviceId

String

No

Service ID.

version

String

Yes

Service version.

instanceId

String

No

Instance ID.

instance

String

Yes

Instance name.

thread

String

No

Number of threads.

cpu

String

No

CPU usage.

memory

String

No

Memory.

interfaces

Table 2

No

API data details.

Parameters serviceId and instanceId must be specified or left blank at the same time.

Table 2 items parameters

Parameter

Type

Mandatory

Description

items

FunctionMetricInfo

No

API-level aggregation metric data.