Queries the details of an application monitoring task.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Pid |
string |
Yes |
The process identifier (PID) of the application. For more information about how to obtain the PID, see Obtain the PID of an application. |
b590lhguqs@d8deedfa9bf**** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| Tags |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The list of tags. |
||
| Key |
string |
No |
The tag key. |
TestKey |
| Value |
string |
No |
The tag value. |
TestValue |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D80ADAAC-8C32-5479-BD14-C28CF832**** |
| TraceApp |
object |
The details of the application monitoring task. |
|
| Type |
string |
The type of the monitoring task. Valid values:
|
TRACE |
| AppName |
string |
The name of the application. |
arms-k8s-demo |
| UpdateTime |
integer |
The timestamp when the task was last updated. |
1635700348000 |
| Show |
boolean |
Whether the application is displayed in the ARMS console. Valid values:
|
true |
| CreateTime |
integer |
The timestamp when the task was created. |
1576599253000 |
| Pid |
string |
The process identifier (PID) of the application. |
b590lhguqs@d8deedfa9bf**** |
| AppId |
integer |
The application ID. |
123 |
| UserId |
string |
The user ID. |
113197164949**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Labels |
array |
The aliases of the application. |
|
|
string |
The tags of the application. |
[ "test", "123123123", "uat" ], |
|
| Tags |
array<object> |
A list of key-value pairs. |
|
|
object |
|||
| Key |
string |
The tag key. |
TestKey |
| Value |
string |
The tag value. |
TestValue |
| Source |
string |
The source of the application. |
ACSK8S |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmxyexli2**** |
| ClusterId |
string |
The ID of the cluster. |
c905d1364c2dd4b6284a3f41790c4**** |
| Language |
string |
The programming language of the application. |
java |
Examples
Success response
JSON format
{
"RequestId": "D80ADAAC-8C32-5479-BD14-C28CF832****",
"TraceApp": {
"Type": "TRACE",
"AppName": "arms-k8s-demo",
"UpdateTime": 1635700348000,
"Show": true,
"CreateTime": 1576599253000,
"Pid": "b590lhguqs@d8deedfa9bf****",
"AppId": 123,
"UserId": "113197164949****",
"RegionId": "cn-hangzhou",
"Labels": [
"[ \"test\", \"123123123\", \"uat\" ],"
],
"Tags": [
{
"Key": "TestKey",
"Value": "TestValue"
}
],
"Source": "ACSK8S",
"ResourceGroupId": "rg-acfmxyexli2****",
"ClusterId": "c905d1364c2dd4b6284a3f41790c4****",
"Language": "java"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.