All Products
Search
Document Center

Application Real-Time Monitoring Service:ListTraceApps

Last Updated:Sep 26, 2023

Queries all Application Monitoring tasks in a specified region.

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.

debugging

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:ListTraceAppsList
  • TraceApp
    acs:arms:{#regionId}:{#accountId}:traceapp/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
ResourceGroupIdstringNo

The resource group ID.

rg-acfmxyexli2****
Tagsobject []No

The tags.

KeystringNo

The tag key.

TestKey
ValuestringNo

The tag value.

TestValue
RegionstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code returned for the request. Valid values:

  • 2XX: The request is successful.
  • 3XX: A redirection message is returned.
  • 4XX: The request is invalid.
  • 5XX: A server error occurs.
200
Messagestring

The error message returned if the request parameters are invalid.

Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.
RequestIdstring

The request ID.

40B10E04-81E8-4643-970D-F1B38F2E****
Successboolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.
  • false: The call failed.
true
TraceAppsobject []

The list of Application Monitoring tasks.

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 time when the monitoring task was updated. The value is a timestamp. Unit: milliseconds.

1529667762000
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 time when the monitoring task was created. The value is a timestamp. Unit: milliseconds.

1529667762000
Pidstring

The process identifier (PID) of the application.

a5f9bdeb-2627-4dbe-9247-****
AppIdlong

The application ID.

123
UserIdstring

The user ID.

113197164949****
RegionIdstring

The region ID.

cn-hangzhou
Labelsarray

The labels of the application.

string

The value of the application label.

prod
Tagsobject []

The tags.

Keystring

The tag key.

TestKey
Valuestring

The tag value.

TestValue
ResourceGroupIdstring

The resource group ID.

Resource group
Sourcestring

The application source.

ACK

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.",
  "RequestId": "40B10E04-81E8-4643-970D-F1B38F2E****",
  "Success": true,
  "TraceApps": [
    {
      "Type": "TRACE",
      "AppName": "test-app",
      "UpdateTime": 1529667762000,
      "Show": true,
      "CreateTime": 1529667762000,
      "Pid": "a5f9bdeb-2627-4dbe-9247-****",
      "AppId": 123,
      "UserId": "113197164949****",
      "RegionId": "cn-hangzhou",
      "Labels": [
        "prod"
      ],
      "Tags": [
        {
          "Key": "TestKey",
          "Value": "TestValue"
        }
      ],
      "ResourceGroupId": "Resource group\n",
      "Source": "ACK"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
500InternalErrorInternal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.
500InternalError-
500InternalError-

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

Change history

Change timeSummary of changesOperation
2023-09-11The error codes of the API operation change.,The input parameters of the API operation change.,The response structure of the API operation changes.see changesets
Change itemChange content
Error CodesThe error codes of the API operation change.
    delete Error Codes: 500
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: AppType
Output ParametersThe response structure of the API operation changes.
2023-08-09The error codes of the API operation change.,The input parameters of the API operation change.see changesets
Change itemChange content
Error CodesThe error codes of the API operation change.
    delete Error Codes: 500
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: Region