DTStack / chunjun

A data integration framework
https://dtstack.github.io/chunjun/
Apache License 2.0
3.98k stars 1.69k forks source link

[hotfix-1786][chunjun-metrics-prometheus] Fix uploading of startLocat… #1894

Open Icarus-Alpha opened 5 months ago

Icarus-Alpha commented 5 months ago

Fix uploading of startLocation and endLocation metrics to PushGateway

Purpose of this pull request

This pull request addresses an issue with the Chunjun data integration platform where specific metrics, startLocation and endLocation, were not being uploaded to the Prometheus PushGateway. This failure in metrics reporting has significant implications for monitoring and troubleshooting data synchronization tasks, as these metrics are crucial for understanding the data flow and pinpointing where discrepancies occur. The fix introduces modifications to ensure that these metrics are captured accurately and transmitted to the Prometheus PushGateway, enhancing observability and reliability of data synchronization processes in environments using different versions of Flink.

Which issue you fix

Fixes #1786

Checklist:

Icarus-Alpha commented 5 months ago

PTAL