Description

Reset aggregate runtime metrics for a APSV, SOAP, REST, 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

DELETE

URI

host_name:port/oemanager/applications/ABL_app_name/webapps/Web_app_name/transports/{soap|rest}/metrics

Content-Type

application/vnd.progress+json

Request body

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example (APSV)

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

Response body example (APSV)

{
   "operation":"RESET APSV TRANSPORT STATISTICS",
   "outcome":"SUCCESS",
   "result":"",
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (SOAP)

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

Response body example (SOAP)

{
   "operation":"RESET OE_SOAP_TRANSPORT METRICS",
   "outcome":"SUCCESS",
   "result":"",
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (REST)

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

Response body example (REST)

{
   "operation":"RESET OE_REST_TRANSPORT METRICS",
   "outcome":"SUCCESS",
   "result":"",
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

Command-line example (WEB)

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

Response body example (WEB)

{
   "operation":"RESET WEB TRANSPORT STATISTICS",
   "outcome":"SUCCESS",
   "result":"",
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

ABL HTTP client example (all transports)

Note: Substitute apsv, rest, or web for soap in the URI below if you want to get metrics for the apsv, rest, or web transport.
define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

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