Skip to content

Conversation

ihji
Copy link
Contributor

@ihji ihji commented Dec 5, 2020

…y logging

Please add a meaningful description for your change here


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status --- --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@ihji
Copy link
Contributor Author

ihji commented Dec 7, 2020

R: @ajamato

Uses Metrics for logging latencies instead of parameters. Reverted BigQueryService API signature changes for histogram and counter.

@ihji
Copy link
Contributor Author

ihji commented Dec 14, 2020

@ajamato PTAL

@ihji
Copy link
Contributor Author

ihji commented Jan 6, 2021

@ajamato Friendly ping

@ajamato
Copy link

ajamato commented Jan 12, 2021

@pabloem Would you take a look as well, as a committer. Or lmk if you have someone else in mind on the java side.

@ihji
Copy link
Contributor Author

ihji commented Jan 13, 2021

Run Java PreCommit

@@ -383,4 +409,70 @@ public boolean equals(@Nullable Object object) {
public int hashCode() {
return Objects.hash(stepName, counters, distributions, gauges);
}

private boolean equalsMetricName(MetricName metricName, String namespace, String name) {
return (namespace == null || namespace.equals(metricName.getNamespace()))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This equality looks werid, why would it be considered equal if the param is null?

Can you add a clairifying comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, equals prefix is misleading. It's more like matching and when the field will be ignored when the parameter is null. I renamed the method.

@ihji ihji merged commit cf77f03 into apache:master Jan 19, 2021
@ihji ihji deleted the BEAM-11032 branch March 30, 2021 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants