Closed PeterZh6 closed 1 month ago
Hello @PeterZh6, thank you for opening your first issue in InLong 🧡 We will respond as soon as possible ⏳ If this is a bug report, please provide screenshots or error logs for us to reproduce your issue, so we can do our best to fix it. If you have any questions in the meantime, you can also ask us on the InLong Discussions 🔍
Description
Parent Issue: [Feature][Umbrella] Tencent Rhino-bird: Sort metric monitoring and reporting #10961
Description: This feature focuses on SourceMetric only This feature introduces enhanced metric instrumentation to improve observability within the InLong Sort Flink Connector, specifically for the Postgres-CDC connector. The newly added metrics in
org.apache.inlong.sort.base.metric.SourceExactlyMetric
cover deserialization processes, snapshot states, and checkpoint completion.Key Metric Categories:
Serialization/Deserialization Metrics:
numDeserializeSuccess
,numDeserializeError
).deserializeTimeLag
,serializeTimeLag
).SnapshotState Metrics:
numSnapshotCreate
,numSnapshotError
).NotifyComplete Metrics:
numCompletedSnapshots
).snapshotToCheckpointTimeLag
).Implementation Details:
The metrics are integrated into the Postgres-CDC connector (located in
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/postgres-cdc
) and can be adapted for use in other connectors. Specific changes are made in key methods likedeserialize()
,snapshotState()
, andnotifyCheckpointComplete()
to gather detailed performance and error data.This feature enhances monitoring capabilities, providing critical insights into serialization/deserialization performance, checkpoint processes, and other key aspects of the connector's operation.
Use case
No response
Are you willing to submit PR?
Code of Conduct