All Products
Search
Document Center

Application Real-Time Monitoring Service:SearchTraceAppByPage

Last Updated:Nov 05, 2024

Queries Application Monitoring tasks by page.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:SearchTraceAppByPagenone
  • TraceApp
    acs:arms:{#regionId}:{#accountId}:traceapp/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TraceAppNamestringYes

The name of the application.

test-app
PageNumberintegerYes

The number of the page to return. Default value: 1.

1
PageSizeintegerYes

The number of entries to return on each page. Default value: 10.

10
RegionIdstringYes

The region ID.

cn-hangzhou
ResourceGroupIdstringNo

The resource group ID.

rg-acfmxyexli2****
Tagsarray<object>No

A list of tags.

objectNo
KeystringNo

The tag key.

TestKey
ValuestringNo

The tag value.

TestValue

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

4B446DF2-3DDD-4B5B-8E3F-D5225120****
PageBeanobject

The information about the array object.

PageNumberinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

10
TotalCountinteger

The total number of entries returned.

3
TraceAppsarray<object>

The information about the monitoring task.

TraceAppobject
Typestring

The type of the monitoring task. Valid values:

  • TRACE: Application Monitoring
  • RETCODE: Browser Monitoring
TRACE
AppNamestring

The name of the application.

test-app
UpdateTimelong

The timestamp generated when the task information was updated.

1531291867000
Showboolean

Indicates whether the application is displayed in the Application Real-Time Monitoring Service (ARMS) console. Valid values:

  • true: yes
  • false: no
true
CreateTimelong

The timestamp generated when the task was created.

1531291867000
Pidstring

The process identifier (PID) of the application.

atc889zkcf@d8deedfa9bf****
AppIdlong

The application ID.

123
UserIdstring

The user ID.

113197164949****
RegionIdstring

The region ID.

cn-hangzhou
Labelsarray

The aliases of the application.

Labelsstring

The alias of the application.

prod
Tagsarray<object>

A list of tags.

Tagsobject
Keystring

The tag key.

TestKey
Valuestring

The tag value.

TestValue
ResourceGroupIdstring

The resource group ID.

rg-acfmxyexli2****

Examples

Sample success responses

JSONformat

{
  "RequestId": "4B446DF2-3DDD-4B5B-8E3F-D5225120****",
  "PageBean": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 3,
    "TraceApps": [
      {
        "Type": "TRACE",
        "AppName": "test-app",
        "UpdateTime": 1531291867000,
        "Show": true,
        "CreateTime": 1531291867000,
        "Pid": "atc889zkcf@d8deedfa9bf****",
        "AppId": 123,
        "UserId": "113197164949****",
        "RegionId": "cn-hangzhou",
        "Labels": [
          "prod"
        ],
        "Tags": [
          {
            "Key": "TestKey",
            "Value": "TestValue"
          }
        ],
        "ResourceGroupId": "rg-acfmxyexli2****"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history