Monitoring the adapter

Prerequisite: See Gateway Application metrics for a generic overview on support of metrics in a Gateway Application

The adapter supports exposing metrics which can be used to monitor the adapter. This is disabled by default and may be enabled in the configuration file under the global section as follows:

"global": {
    "framework": {
        "metrics": {
            "enabled": true
        }
    }
}

The metrics for the adapter are exposed as:

The adapter exposes the following types of metrics:

  1. JVM and system metrics

  2. Metrics exposed by the Gateway Framework

  3. AMQP connection and message-consumption-specific metrics

Below is the list of metrics exposed by the application that is related to the AMQP connection and message-consumption-specific metrics.

Meter name Description Type

adapter.amqp.server.connection.active

An active connection with the AMQP server for a specific connection identifier. Value is set to 1.0 if connected.

Gauge

adapter.amqp.server.connection.retries

The total number of retries attempted to establish the connection with the AMQP server. Resets to 0.0 once the connection is established.

Gauge

adapter.service.count.using.amqp.connection

The total count of services using the connection.

Gauge

adapter.amqp.received.message.count

The total number of messages received by the service.

Counter