Add support for bounded trie metric in legacy worker#33474
Add support for bounded trie metric in legacy worker#33474robertwb merged 5 commits intoapache:masterfrom
Conversation
|
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
124be26 to
1c7fe06
Compare
|
Assigning reviewers. If you would like to opt out of this review, comment R: @johnjcasey added as fallback since no labels match configuration Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
R: @robertwb |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment |
…ter until Dataflow java client support is ready" This reverts commit a2cb708.
1c7fe06 to
8bb0659
Compare
|
@robertwb Please take a look. Thanks. |
600df62 to
75ddebe
Compare
| MetricKey key, boolean isCumulative, BoundedTrieData boundedTrieData) { | ||
| // BoundedTrie uses SET kind metric aggregation which tracks unique strings as a trie. | ||
| CounterStructuredNameAndMetadata name = structuredNameAndMetadata(key, Kind.SET); | ||
| BoundedTrie counterUpdateTrie = getBoundedTrie(boundedTrieData.toProto()); |
There was a problem hiding this comment.
75ddebe to
c7dcc7d
Compare
|
The two failure seem unrelated to this change. |
robertwb
left a comment
There was a problem hiding this comment.
Thanks, this looks good. Just one small question.
...r/src/main/java/org/apache/beam/runners/dataflow/worker/MetricsToCounterUpdateConverter.java
Show resolved
Hide resolved
|
I'm still seeing in the failed test run. |
|
Sorry. Fixed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #33474 +/- ##
=========================================
Coverage 59.08% 59.09%
- Complexity 3238 3240 +2
=========================================
Files 1156 1156
Lines 176924 176924
Branches 3391 3391
=========================================
+ Hits 104543 104553 +10
+ Misses 69015 69008 -7
+ Partials 3366 3363 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@robertwb can you please help merging this? Thanks. |
|
Yes. I was trying to get the tests to pass, but this does look unrelated (and possibly flaky). I'll go ahead and merge. |
|
Thank you. Created a CP to 2.63: #33890 |


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.