Updated on 2023-07-19 GMT+08:00

MetricData

Table 1 Parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Service name.

appId

Yes

String

Application ID.

serviceId

No

String

Service ID.

version

Yes

String

Service version.

instanceId

No

String

Instance ID.

instance

Yes

String

Instance name.

thread

No

String

Number of threads.

cpu

No

String

CPU usage.

memory

No

String

Memory.

interfaces

No

Table 2

API data details.

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

Table 2 items parameters

Parameter

Mandatory

Type

Description

items

No

FunctionMetricInfo

API-level aggregation metric data.