Description

Get OEABL WebApp metrics information for the given ABL application.

HTTP Operation

GET

URI

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

Media type

application/vnd.progress+json 

Request body

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/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/webapps/ROOT/metrics')
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Response body example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <Response>
    <errmsg> Unable to find OEABL service [ ROOT ]</errmsg>
    <operation>GET OE_BROKER METRICS</operation>
    <outcome>FAILURE</outcome>
    <result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">
    </result>
    <versionNo>1</versionNo>
    <versionStr>v12.7.0 ( 2023-04-20 )</versionStr>
  </Response>