Description

Query the session manager for runtime metrics of an ABL application.

For more information, see Collect runtime metrics in Manage Progress Application Server (PAS) for OpenEdge.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/metrics

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/metrics

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Get('http://localhost:16680/oemanager/applications/oepas1/metrics')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body example

NA

Response body example

The following example response is returned when collectMetrics=3 in the openedge.properties file:

{
   "operation":"GET SESSION-MGR METRICS",
   "outcome":"SUCCESS",
   "result":{
      "requests":10,
      "writeErrors":0,
      "reads":62,
      "concurrentConnectedClients":0,
      "maxAgentReadTime":0,
      "writes":20,
      "maxConcurrentClients":1,
      "readErrors":0,
      "avgReserveABLSessionWaitTime":0,
      "totReserveABLSessionWaitTime":3,
      "stdDevAgentReadTime":0,
      "maxReserveABLSessionWaitTime":3,
      "avgAgentReadTime":0,
      "numReserveABLSessionTimeouts":0,
      "minAgentReadTime":0,
      "numReserveABLSessionWaits":0,
      "type":"OE_BROKER",
      "startTime":"2019-12-03T14:53:47.385-05:00",
      "accessTime":"2019-12-03T15:45:12.262-05:00"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}