Monitoring Oracle XStream CDC Source Connector for Confluent Cloud
The Oracle XStream CDC Source connector exposes metrics through the Confluent Cloud Metrics API that are useful for monitoring the connector and troubleshooting issues.
Connector metrics
The Oracle XStream CDC Source connector provides three metric types:
All metrics share the prefix io.confluent.kafka.connect/oracle_xstream_cdc_source_connector_. The tables below list only the metric suffix.
Snapshot metrics
Snapshot metrics help you monitor the connector during snapshot operations. These metrics are only available if a snapshot is currently active or if the connector has performed a snapshot since it was last started.
Metric | Type | Description |
|---|---|---|
| long | The number of milliseconds since the connector last read and processed the most recent event, including those filtered out. |
| long | The total number of events the connector has encountered since its last start or reset, including those filtered out. |
| int | Current snapshot status. Values: |
| long | The total running time for the snapshot, in seconds, including when it was paused. |
Streaming metrics
Streaming metrics help you monitor the connector when streaming changes from the database.
Metric | Type | Description |
|---|---|---|
| int | Whether the connector is currently streaming changes from the database server. Values: |
| long | The number of milliseconds since the connector last read and processed the most recent event, including those filtered out. |
| long | The total number of events the connector has seen since its last start or reset, including those filtered out. |
| long | The number of events filtered out based on the include/exclude list rules configured in the connector. |
| long | The number of committed transactions that the connector has processed and dispatched. |
| long | The number of milliseconds between the timestamp of the last change event and the time the connector processed it. This metric is computed based on the time when the change was generated in the source database’s redo log. Long-running transactions can cause this metric to show high values, because the connector only receives the transaction changes after the transaction is committed in the source database. |
| long | The number of milliseconds between the timestamp of the last COMMIT event received and the time the connector processed it. |
Note
The source event timestamps for the streaming_milliseconds_behind_source and streaming_commit_milliseconds_behind_source metrics are in the database server’s operating system timezone. Ensure that database.os.timezone is set to the database server’s operating system timezone.
Schema history metrics
Schema history metrics help you monitor the status of the connector’s schema history.
Metric | Type | Description |
|---|---|---|
| int | The state of the database schema history. Values: |
