Prometheus

The CDC adapter exposes Prometheus metrics, enabling metrics to be scraped and visualized in a monitoring dashboard such as Grafana.

By default, port 8085 is exposed for Prometheus metrics and can be accessed with:

However, the port and path for Prometheus metrics can also be configured via the configuration file in the global configuration section for the application, as follows:

  "global": {
    "framework": {
      "metrics": {
        "enabled": true
      }
    }
    "application": {
      "prometheus": {
        "port": 8085,
        "path": "/metrics"
      }
    }
  }

Example:

An example of metrics exposed to Prometheus is shown below:

cdc adapter prometheus metrics