All Products
Search
Document Center

Application Real-Time Monitoring Service:GetAppJVMConfig

Last Updated:Nov 05, 2024

Obtain the JVM configuration information of each instance of the application

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.

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:GetAppJVMConfignone
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
PidstringNo

The IDof the application.

Log on to the ARMS console. In the left-side navigation pane, choose Application Monitoring > Applications. On the Applications page, click the name of an application. The URL in the address bar contains the process ID (PID) of the application. The PID is indicated in the pid=xxx format. The PID is usually percent encoded as xxx%40xxx. You must modify this value to remove the percent encoding. For example, if the PID in the URL is eb4zdose6v%409781be0f44d****, you must replace %40 with an at sign (@) to obtain eb4zdose6v@9781be0f44d****.

atc889zkcf@d8deedfa9bf****
StartTimelongNo

The start of the time range to query. Unit: milliseconds.

1480521600000
EndTimelongNo

The end of the time range to query. Unit: milliseconds.

1480607940000

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

1A9C645C-C83F-4C9D-8CCB-29BEC9E1****
Codeinteger

The response code. 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 failed.

message
Successboolean

Indicates whether the request was successful. Valid values: true and false.

true
JvmInfoListarray<object>

The list of JVM information.

JvmInfoListobject
Pidstring

The application ID.

dsv9zcel92@1455182510c5369
VmArgsstring

The VM parameters.

[-javaagent:/home/admin/.opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar, -Doneagent.plugin.arms-agent.enabled=true, -Darms.licenseKey=[******], -Darms.agent.env=K8s, -Darms.agent.podinfo.path=/etc/podinfo, -Darms.appName=productservice, -Doneagent.region=cn-hangzhou, -Dproject.name=Product]
HostNamestring

The hostname.

host_name
Ipstring

The IP address.

47.91.59.244
AgentVersionstring

The version of the agent.

1.7.0-SNAPSHOT_3.0.3_3756244
ProcIdstring

The process ID.

1

Examples

Sample success responses

JSONformat

{
  "RequestId": "1A9C645C-C83F-4C9D-8CCB-29BEC9E1****",
  "Code": 200,
  "Message": "message",
  "Success": true,
  "JvmInfoList": [
    {
      "Pid": "dsv9zcel92@1455182510c5369",
      "VmArgs": "[-javaagent:/home/admin/.opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar, -Doneagent.plugin.arms-agent.enabled=true, -Darms.licenseKey=[******], -Darms.agent.env=K8s, -Darms.agent.podinfo.path=/etc/podinfo, -Darms.appName=productservice, -Doneagent.region=cn-hangzhou, -Dproject.name=Product]",
      "HostName": "host_name",
      "Ip": "47.91.59.244",
      "AgentVersion": "1.7.0-SNAPSHOT_3.0.3_3756244",
      "ProcId": "1"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history