-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][Core] Support record metrics in flink engine #6035
[Feature][Core] Support record metrics in flink engine #6035
Conversation
@hailin0 @EricJoy2048 @Hisoka-X @ic4y PTAL. |
Please fix test case |
61ff03d
to
e98d4cd
Compare
Done. |
...k-common/src/main/java/org/apache/seatunnel/translation/flink/metric/FlinkMetricContext.java
Show resolved
Hide resolved
Please add testcase check metrics key & value |
This pr used the origin filnk metric system, so it does not has measure to write a test case for it. Currently to verify metrics can see flink web ui. I have offered the snapshot screen images in this pr. cc @hailin0 @Hisoka-X @EricJoy2048 |
how about use flink web http server to check metrics? Query it in docker e2e environment. I'm worry about it will not worked in the future after other guys change the code. |
...flink-13/src/main/java/org/apache/seatunnel/translation/flink/metric/FlinkMetricContext.java
Outdated
Show resolved
Hide resolved
e98d4cd
to
560b7c0
Compare
Got it, hey guys I have added the e2e test case in latest commit, please review again. cc @Hisoka-X @hailin0 @EricJoy2048 |
560b7c0
to
848e568
Compare
...nector-v2-e2e/connector-fake-e2e/src/test/resources/fake_to_assert_verify_flink_metrics.conf
Show resolved
Hide resolved
...connector-fake-e2e/src/test/java/org/apache/seatunnel/e2e/connector/fake/FlinkMetricsIT.java
Show resolved
Hide resolved
...connector-fake-e2e/src/test/java/org/apache/seatunnel/e2e/connector/fake/FlinkMetricsIT.java
Outdated
Show resolved
Hide resolved
seatunnel-common/src/main/java/org/apache/seatunnel/common/utils/DateTimeUtils.java
Show resolved
Hide resolved
848e568
to
373fd11
Compare
5813505
to
9646664
Compare
9646664
to
c4a15d1
Compare
c4a15d1
to
93cbee2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Purpose of this pull request
Support record metrics in flink engine
Does this PR introduce any user-facing change?
No
How was this patch tested?
You can see job summary when job finished in logs.
Check list
New License Guide
release-note
.