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 that can be used to monitor the adapter. This is disabled by default and can 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. Database reader service metrics:

Database reader service metrics

Below is the list of metrics exposed by the application that is related to the Database reader service.

Meter name Description Type

adapter.debezium.connector.connected

Specifies if the Debezium connector is connected to the database.
The value is set to 1.0 if connected and 0.0 if disconnected

Gauge

adapter.data.insert.request.for.object.mapping.count

Specifies the total number of data insert requests into a Diffusion topic due to READ/CREATE operation in a table, when 'OBJECT' topic mapping is used. This can specify the size of the JSON topic.

Counter

adapter.data.insert.request.for.row.mapping.count

Specifies the total number of data insert requests into Diffusion topics due to READ/CREATE operation in a table, when 'ROW' topic mapping is used. This can specify the total number of rows in a table published to Diffusion topics

Counter

adapter.data.update.request.count

Specifies the total number of data update requests for a Diffusion topic due to 'UPDATE' operation in a table

Counter

adapter.data.delete.request.count

Specifies the total number of data delete requests for a Diffusion topic due to 'DELETE' operation in a table.

Counter