Queries the details of an application monitoring task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetTraceApp

The operation that you want to perform. Set the value to GetTraceApp.

Pid String Yes b590lhguqs@d8deedfa9bf****

The process identifier (PID) of the application. For more information about how to obtain the PID, see Obtain the PID of an application.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String D80ADAAC-8C32-5479-BD14-C28CF832****

The ID of the request.

TraceApp Object

The struct returned.

Type String TRACE

The type of the monitoring task. Valid values:

  • TRACE: application monitoring
  • RETCODE: browser monitoring
AppName String arms-k8s-demo

The name of the application.

UpdateTime Long 1635700348000

The timestamp generated when the monitoring task was updated.

Show Boolean true

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

  • true: The application is displayed in the ARMS console.
  • false: The application is not displayed in the ARMS console.
CreateTime Long 1576599253000

The timestamp generated when the monitoring task was created.

Pid String b590lhguqs@d8deedfa9bf****

The PID of the application.

AppId Long 123

The ID of the application.

UserId String 113197164949****

The ID of the user.

RegionId String cn-hangzhou

The ID of the region.

Labels Array of String [ "test", "123123123", "uat" ],

The tags of the application.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetTraceApp
&Pid=b590lhguqs@d8deedfa9bf****
&RegionId=cn-hangzhou
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<GetTraceAppResponse>
    <RequestId>D80ADAAC-8C32-5479-BD14-C28CF832****</RequestId>
    <TraceApp>
        <Type>TRACE</Type>
        <AppId>123</AppId>
        <UserId>113197164949****</UserId>
        <CreateTime>1576599253000</CreateTime>
        <UpdateTime>1635700348000</UpdateTime>
        <Pid>b590lhguqs@d8deedfa9bfxxxx</Pid>
        <Show>true</Show>
        <Labels>test</Labels>
        <Labels>123123123</Labels>
        <Labels>uat</Labels>
        <RegionId>cn-hangzhou</RegionId>
        <AppName>arms-k8s-demo</AppName>
    </TraceApp>
</GetTraceAppResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "D80ADAAC-8C32-5479-BD14-C28CF832****",
  "TraceApp" : {
    "Type" : "TRACE",
    "AppId" : 123,
    "UserId" : "113197164949****",
    "CreateTime" : 1576599253000,
    "UpdateTime" : 1635700348000,
    "Pid" : "b590lhguqs@d8deedfa9bfxxxx",
    "Show" : true,
    "Labels" : [ "test", "123123123", "uat" ],
    "RegionId" : "cn-hangzhou",
    "AppName" : "arms-k8s-demo"
  }
}