Description

Get runtime metrics for the APSV, REST, SOAP, or WEB transport of an ABL web application deployed in 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/webapps/Web_app_name/transports/{apsv|soap|rest|web}/metrics

Content-Type

application/vnd.progress+json

Request body

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example (APSV)

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

Response body example (APSV)

{
   "operation":"GET APSV TRANSPORT STATISTICS",
   "outcome":"SUCCESS",
   "result":{
      "statusRequests":0,
      "connectRequests":0,
      "sessionErrors":0,
      "connectErrors":0,
      "disconnectRequests":0,
      "sessionRequests":0,
      "disconnectErrors":0,
      "forbiddenErrors":0,
      "type":"OE_APSV_TRANSPORT",
      "startTime":"2020-01-10T11:29:43.160-05:00",
      "accessTime":"2020-01-10T11:30:16.692-05:00"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (SOAP)

curl -x GET -u username:password  -v http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/transports/soap/metrics

Response body example for count and time metrics (SOAP)

{
   "operation":"GET OE_SOAP_TRANSPORT METRICS",
   "outcome":"SUCCESS",
   "result":{
      "minTotalTime":24,
      "statusRequests":0,
      "stdDevTotalTime":4,
      "avgTotalTime":30,
      "serviceDisabled":2,
      "soapProcessorErrors":2,
      "httpRequestErrors":0,
      "httpRequests":0,
      "maxTotalTime":36,
      "methodNotAllowederrors":0,
      "soapRequests":10,
      "wsdlRequests":0,
      "successfulSoapRequests":8,
      "activeRequests":0,
      "urlNotFoundErrors":0,
      "type":"OE_SOAP_TRANSPORT",
      "startTime":"2020-01-14T15:36:15.372-05:00",
      "accessTime":"2020-01-14T15:36:39.128-05:00"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (REST)

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

Response body example (REST)

{
   "operation":"GET OE_REST_TRANSPORT METRICS",
   "outcome":"SUCCESS",
   "result":{
      "avgConnectTime":0,
      "statusRequests":0,
      "successfulRunRequests":0,
      "requests":0,
      "serviceUnavailableRequests":0,
      "failedRequests":0,
      "minDisconnectTime":0,
      "stdDevDisconnectTime":0,
      "connectRequests":0,
      "stdDevConnectTime":0,
      "expressionErrors":0,
      "successfulConnectRequests":0,
      "stdDevSessionTime":0,
      "successfulRequests":0,
      "maxConnectTime":0,
      "minSessionTime":0,
      "runRequests":0,
      "avgSessionTime":0,
      "maxDisconnectTime":0,
      "serviceNotFoundErrors":0,
      "minConnectTime":0,
      "avgDisconnectTime":0,
      "maxSessionTime":0,
      "type":"OE_REST_TRANSPORT",
      "startTime":"2020-01-14T15:36:15.371-05:00",
      "accessTime":"2020-01-14T15:38:07.557-05:00"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (WEB)

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

Response body example (WEB)

{
   "operation":"GET WEB TRANSPORT STATISTICS",
   "outcome":"SUCCESS",
   "result":{
      "patchErrors":0,
      "postErrors":0,
      "failedServletRequests":0,
      "maxABLConnectTime":0,
      "stdABLDevConnectTime":0,
      "getRequests":0,
      "optionsErrors":0,
      "connectRequests":0,
      "putRequests":0,
      "getErrors":0,
      "deleteRequests":0,
      "minABLProcessingTime":0,
      "maxABLProcessingTime":0,
      "stdDevABLProcessingTime":0,
      "minABLConnectTime":0,
      "patchRequests":0,
      "ablConnectErrors":0,
      "postRequests":0,
      "successfulServletRequests":0,
      "avgABLProcessingTime":0,
      "avgABLConnectTime":0,
      "optionsRequests":0,
      "traceRequests":0,
      "putErrors":0,
      "deleteErrors":0,
      "headRequests":0,
      "traceErrors":0,
      "servletRequests":0,
      "headErrors":0,
      "ablRuntimeErrors":0,
      "type":"OE_OEWEB_TRANSPORT",
      "startTime":"2020-01-14T15:36:15.373-05:00",
      "accessTime":"2020-01-14T15:38:47.395-05:00"
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

ABL HTTP client example

Note: Substitute rest, apsv, or web for soap in the URI below if you want to get metrics for the rest, apsv, or web transport.
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/webapps/ROOT/transports/soap/metrics')
      :ContentType('application/vnd.progress+json') 
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).