Web Methods Metrics API

The metrics API from Web Methods — 2 operation(s) for metrics.

GitHub OpenAPI

Operations 2

GET /metrics Get the application metrics #
GET /prometheus Get the application metrics #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/web-methods:web-methods-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

web-methods-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Metrics API
  version: '10.11'
  description: 'Operations tagged metrics across 2 of this provider''s published API definitions: devportal-health.yaml, web-methods-developer-portal-health-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
  description: Development server
tags:
- name: Metrics
paths:
  /metrics:
    get:
      tags:
      - Metrics
      summary: Get the application metrics
      description: Get details of various application related metrics
      responses:
        '200':
          $ref: '#/components/responses/Metrics'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: getMetrics
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /prometheus:
    get:
      tags:
      - Metrics
      summary: Get the application metrics
      description: Get the application metrics that can be consumed by prometheus
      responses:
        '200':
          $ref: '#/components/responses/Prometheus'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: getPrometheus
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            401:
              $ref: '#/components/examples/401'
    Prometheus:
      description: Application metric understandabl for Prometheus
      content:
        text/plain:
          examples:
            Prometheus:
              $ref: '#/components/examples/Prometheus'
    Metrics:
      description: Application metrics response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Metrics'
          examples:
            Metrics:
              $ref: '#/components/examples/Metrics'
  schemas:
    Metrics:
      type: array
      items:
        type: string
    Error:
      type: object
      properties:
        code:
          type: integer
          description: Error code
        message:
          type: string
          description: Error message
        errors:
          type: array
          description: Error detail list
          items:
            type: string
  examples:
    Metrics:
      value:
        names:
        - http.server.requests
        - jvm.buffer.count
        - jvm.buffer.memory.used
        - jvm.buffer.total.capacity
        - jvm.classes.loaded
        - jvm.classes.unloaded
        - jvm.gc.live.data.size
        - jvm.gc.max.data.size
        - jvm.gc.memory.allocated
        - jvm.gc.memory.promoted
        - jvm.gc.pause
        - jvm.memory.committed
        - jvm.memory.max
        - jvm.memory.used
        - jvm.threads.daemon
        - jvm.threads.live
        - jvm.threads.peak
        - jvm.threads.states
        - log4j2.events
        - process.cpu.usage
        - process.start.time
        - process.uptime
        - spring.integration.channels
        - spring.integration.handlers
        - spring.integration.sources
        - system.cpu.count
        - system.cpu.usage
        - tomcat.cache.access
        - tomcat.cache.hit
        - tomcat.global.error
        - tomcat.global.received
        - tomcat.global.request
        - tomcat.global.request.max
        - tomcat.global.sent
        - tomcat.servlet.error
        - tomcat.servlet.request
        - tomcat.servlet.request.max
        - tomcat.threads.busy
        - tomcat.threads.config.max
        - tomcat.threads.current
    Prometheus:
      value: 'tomcat_servlet_request_seconds_count{name="default",} 0.0

        tomcat_servlet_request_seconds_sum{name="default",} 0.0

        tomcat_servlet_request_seconds_count{name="Status",} 0.0

        tomcat_servlet_request_seconds_sum{name="Status",} 0.0

        tomcat_servlet_request_seconds_count{name="JMXProxy",} 0.0

        tomcat_servlet_request_seconds_sum{name="JMXProxy",} 0.0

        tomcat_servlet_request_seconds_count{name="jsp",} 0.0

        tomcat_servlet_request_seconds_sum{name="jsp",} 0.0

        tomcat_servlet_request_seconds_count{name="dispatcherServlet",} 15.0

        tomcat_servlet_request_seconds_sum{name="dispatcherServlet",} 8.186

        tomcat_servlet_request_seconds_count{name="HTMLManager",} 0.0

        tomcat_servlet_request_seconds_sum{name="HTMLManager",} 0.0

        tomcat_servlet_request_seconds_count{name="Manager",} 0.0

        tomcat_servlet_request_seconds_sum{name="Manager",} 0.0

        # HELP tomcat_connections_current_connections

        # TYPE tomcat_connections_current_connections gauge

        tomcat_connections_current_connections{name="https-openssl-apr-8443",} 1.0

        tomcat_connections_current_connections{name="http-nio-8080",} 5.0

        # HELP system_cpu_usage The "recent cpu usage" of the system the application is running in

        # TYPE system_cpu_usage gauge

        system_cpu_usage 0.0

        # HELP jvm_gc_overhead_percent An approximation of the percent of CPU time used by GC activities over the last lookback period or since monitoring began, whichever is shorter, in the range [0..1]

        # TYPE jvm_gc_overhead_percent gauge

        jvm_gc_overhead_percent 0.003142558395370619

        # HELP application_started_time_seconds Time taken (ms) to start the application

        # TYPE application_started_time_seconds gauge

        application_started_time_seconds{main_application_class="com.softwareag.portal.BundleServerApplication",} 18.866

        # HELP tomcat_global_sent_bytes_total

        # TYPE tomcat_global_sent_bytes_total counter

        tomcat_global_sent_bytes_total{name="https-openssl-apr-8443",} 0.0

        tomcat_global_sent_bytes_total{name="http-nio-8080",} 1679495.0

        # HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC to after GC

        # TYPE jvm_gc_memory_promoted_bytes_total counter

        jvm_gc_memory_promoted_bytes_total 1.1477512E7

        # HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process

        # TYPE process_cpu_usage gauge

        process_cpu_usage 0.09766772595780004'
    '401':
      value:
        code: 401
        message: Invalid credentials
x-refined-from:
- devportal-health.yaml
- web-methods-developer-portal-health-openapi.yml