Retrieves the details of an Application Monitoring job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:GetTraceApp |
none |
*TraceApp
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Pid |
string |
Yes |
The application ID. On the Application Monitoring > Applications page in the ARMS console, click the name of the target application. The URL in the browser address bar contains the PID of the application in the format of pid=xxx. Because the browser encodes the URL, you must modify the PID. For example, if the PID in the URL is xxx%4074xxx, replace %40 with @. The modified PID is xxx@74xxx. |
b590lhguqs@d8deedfa9bf**** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| Tags |
array<object> |
No |
The 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 response struct. |
|
| Type |
string |
The monitoring job type. Valid values:
|
TRACE |
| AppName |
string |
The application name. |
arms-k8s-demo |
| UpdateTime |
integer |
The timestamp of the update time. |
1635700348000 |
| Show |
boolean |
Specifies whether the application is displayed in the ARMS console. Valid values:
|
true |
| CreateTime |
integer |
The timestamp of the creation time. |
1576599253000 |
| Pid |
string |
The PID string 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 list of application tags. |
|
|
string |
The application tag. |
[ "test", "123123123", "uat" ], |
|
| Tags |
array<object> |
The key-value pair tags. |
|
|
object |
The key-value pair tags. |
||
| Key |
string |
The tag key. |
TestKey |
| Value |
string |
The tag value. |
TestValue |
| Source |
string |
The application source. |
ACSK8S |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxyexli2**** |
| ClusterId |
string |
The cluster ID. This parameter is used only in container scenarios. |
c905d1364c2dd4b6284a3f41790c4**** |
| Language |
string |
The programming language. |
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.