[Feature][Sort] Enhanced sink metric instrumentation for InLong Sort Flink Connector #11201
Closed
2 tasks done
Labels
Milestone
Description
Parent Issue: #10961
Description:
This feature focuses on SinkMetric only
This feature introduces enhanced metric instrumentation to improve observability within the InLong Sort Flink Connector, specifically for the
starrocks
connector. The newly added metrics ininlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SinkExactlyMetric.java
cover serialization processes, snapshoting states, and checkpoint completion.Key Metric Categories:
Serialization Metrics:
numSerializeSuccess
,numSerializeError
).serializeTimeLag
).SnapshotState Metrics:
numSnapshotCreate
,numSnapshotError
).NotifyCheckpointComplete Metrics:
numSnapshotComplete
).snapshotToCheckpointTimeLag
).Implementation Details:
The metrics are integrated into the
starrocks
connector (located ininlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/starrocks
) and can be adapted for use in other connectors. Specific changes are made in key methods likeserialize()
,snapshotState()
, andnotifyCheckpointComplete()
to gather detailed performance and error data.This feature enhances monitoring capabilities, providing critical insights into serialization 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
The text was updated successfully, but these errors were encountered: