Queries the details of a 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 xxx@74xxx

The PID of the application. For more information, 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 CBFA2436-9453-4991-AC0E-9DC42A26****

The ID of the request.

TraceApp Struct

The returned struct.

AppId Long 123

The ID of the application.

AppName String test-app

The name of the application.

CreateTime Long 1529667762000

The timestamp when the application was created.

Labels List prod

The tag of the application.

Pid String atc889zkcf@d8deedfa9bfxxxx

The PID of the application.

RegionId String cn-hangzhou

The ID of the region.

Show Boolean true

Specifies whether to be displayed in the console.

Type String TRACE

The type of the monitoring task. Valid values:

  • TRACE: application monitoring
  • RETCODE : browser monitoring
UpdateTime Long 1529667762000

The timestamp when the application was updated.

UserId String 113197164949****

The ID of the user.

Examples

Sample requests

http(s)://[Endpoint]/? Action=GetTraceApp
&Pid=xxx@74xxx
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<GetTraceAppResponse>
	  <RequestId>CBFA2436-9453-4991-AC0E-9DC42A26****</RequestId>
	  <TraceApp>
		    <Type>TRACE</Type>
		    <AppId>123</AppId>
		    <UserId>113197164949****</UserId>
		    <CreateTime>1529667762000</CreateTime>
		    <UpdateTime>1529667762000</UpdateTime>
		    <Pid>atc889zkcf@d8deedfa9bfxxxx</Pid>
		    <Show>true</Show>
		    <Labels>prod</Labels>
		    <RegionId>cn-hangzhou</RegionId>
		    <AppName>test-app</AppName>
	  </TraceApp>
</GetTraceAppResponse>

JSON format

{
    "RequestId": "CBFA2436-9453-4991-AC0E-9DC42A26****",
    "TraceApp": {
        "Type": "TRACE",
        "AppId": 123,
        "UserId": "113197164949****",
        "CreateTime": 1529667762000,
        "UpdateTime": 1529667762000,
        "Pid": "atc889zkcf@d8deedfa9bfxxxx",
        "Show": true,
        "Labels": "prod",
        "RegionId": "cn-hangzhou",
        "AppName": "test-app"
    }
}