-
Notifications
You must be signed in to change notification settings - Fork 998
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
Add deadletter/read-from-source metrics to batch and stream ingestion #1223
Add deadletter/read-from-source metrics to batch and stream ingestion #1223
Conversation
5f30541
to
b36ef12
Compare
batchDF | ||
.filter(!validator.checkAll) | ||
.mapPartitions(iter => { |
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.
can we convert this lambda into method of DeadLetterMetrics
batchDF | ||
.filter(!validator.checkAll) | ||
.mapPartitions(iter => { | ||
val res = iter | ||
.map(row => { |
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.
Do we really need to iterate over all rows instead of just increment metric once by iter.length
?
spark/ingestion/src/main/scala/feast/ingestion/StreamingPipeline.scala
Outdated
Show resolved
Hide resolved
spark/ingestion/src/main/scala/feast/ingestion/stores/deadletters/DeadLetterMetrics.scala
Outdated
Show resolved
Hide resolved
spark/ingestion/src/main/scala/org/apache/spark/metrics/source/DeadLetterSinkMetricSource.scala
Outdated
Show resolved
Hide resolved
@terryyylim please add some testing |
Signed-off-by: Terence <terencelimxp@gmail.com>
Signed-off-by: Terence <terencelimxp@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
58ebc52
to
372bd69
Compare
/test test-end-to-end-gcp |
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
/test test-end-to-end |
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pyalex, terryyylim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Signed-off-by: Terence terencelimxp@gmail.com
What this PR does / why we need it:
There are several new metrics (reported by ingestion job) added:
Also few bugs fixed:
Some existing metrics were renamed to unify naming across all metrics.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: