Updated on 2026-10-27 GMT+08:00

ServiceBridge statistics

Function

ServiceBridge metric statistics.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

URI

GET /v2/{project_id}/fgs/servicebridge/statistics

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Parameter description:

Project ID. For details, see Obtaining a Project ID.

Constraints:

None

Value range:

32 characters, including letters and digits.

Default value:

None

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

filter

Yes

String

Parameter filter.

monitor_data: Query detailed statistics.

period

No

String

Query interval, in minutes.

start_time

No

String

Start time.

end_time

No

String

End time.

bridge_name

No

String

Bridge name.

metric_type

No

String

Indicator Type

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Parameter description:

User token.

The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token.

Constraints:

None

Value range:

None

Default value:

None

Content-Type

No

String

Parameter description:

Specifies the type (or format) of the message body.

Constraints:

None

Value range:

Only application/json is supported.

Default value:

application/json

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

bridge_count

Array of AomReport objects

Invocations

bridge_error_count

Array of AomReport objects

Remaining attempts

bridge_duration

Array of AomReport objects

Package Quota

bridge_fail_rate

Array of AomReport objects

Failure rate

bridge_memory_used

Array of AomReport objects

Memory usage.

Table 5 AomReport

Parameter

Type

Description

timestamp

Number

Moments

value

Long

Usage

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Bridge statistics.

GET /v2/{project_id}/fgs/servicebridge/statistics

Example Responses

Status code: 200

{
  "bridge_count" : [ {
    "timestamp" : 1596679200000,
    "value" : -1
  }, {
    "timestamp" : 1596682800000,
    "value" : 2
  }, {
    "timestamp" : 1596686400000,
    "value" : -1
  } ],
  "bridge_duration" : [ {
    "timestamp" : 1596679200000,
    "value" : -1
  }, {
    "timestamp" : 1596682800000,
    "value" : 950
  }, {
    "timestamp" : 1596686400000,
    "value" : -1
  } ]
}

Status Codes

Status Code

Description

200

Successful query

400

Bad Request

Error Codes

See Error Codes.