Skip to content

Conversation

@xy-54321
Copy link
Contributor

Add metrics to track latencies in CommitProxyServer.

Test result will be added later.

Code-Reviewer Section

The general guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

  • The PR has a description, explaining both the problem and the solution.
  • The description mentions which forms of testing were done and the testing seems reasonable.
  • Every function/class/actor that was touched is reasonably well documented.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

  • This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or master if this is the youngest branch)
  • There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 5766619
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: 5766619
  • Result: FAILED
  • Build Logs (available for 7 days)

@xy-54321 xy-54321 force-pushed the proxy-server-histogram branch from 5766619 to 3dc0a7a Compare July 30, 2021 01:12
@xy-54321 xy-54321 force-pushed the proxy-server-histogram branch from 3dc0a7a to f243542 Compare July 30, 2021 01:13
@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: 3dc0a7a
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 3dc0a7a
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: f243542
  • Result: FAILED
  • Build Logs (available for 7 days)

Copy link
Contributor

@halfprice halfprice left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Can you also run a chaos test and see if these histograms make sense?

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 08cb42b
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: 08cb42b
  • Result: FAILED
  • Build Logs (available for 7 days)

@apple apple deleted a comment from xy-54321 Aug 4, 2021
@xy-54321
Copy link
Contributor Author

xy-54321 commented Aug 4, 2021

Example logs

{"Severity":"10","Time":"1628118435.464770","DateTime":"2021-08-04T23:07:15Z","Type":"Histogram","ID":"0000000000000000","Group":"CommitProxy","Op":"ToResolver_003a3884a4e30fd275e61c18c2f513f9","Unit":"microseconds","LessThan0.256":"98","LessThan0.512":"15","LessThan1.024":"2","ThreadID":"3964936758328766672","Machine":"100.82.80.233:4501","LogGroup":"yx0803-primary-yx0803-single-sat-primary","Roles":"CP"}
{"Severity":"10","Time":"1628118435.464770","DateTime":"2021-08-04T23:07:15Z","Type":"Histogram","ID":"0000000000000000","Group":"CommitProxy","Op":"PostResolutionQueuing","Unit":"microseconds","LessThan0.002":"115","ThreadID":"3964936758328766672","Machine":"100.82.80.233:4501","LogGroup":"yx0803-primary-yx0803-single-sat-primary","Roles":"CP"}

Copy link
Contributor

@halfprice halfprice left a comment

Choose a reason for hiding this comment

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

Thanks Yao! This looks good and I just have two small comments.

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: c9cf1b2
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: c9cf1b2
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@xy-54321 xy-54321 requested a review from halfprice August 5, 2021 09:01
@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: a9ada4d
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@foundationdb-ci
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: a9ada4d
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@xy-54321 xy-54321 merged commit 8609b45 into apple:master Aug 5, 2021
@xy-54321 xy-54321 deleted the proxy-server-histogram branch August 5, 2021 23:29
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Aug 11, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Aug 11, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Aug 11, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Aug 13, 2021
xumengpanda added a commit that referenced this pull request Aug 27, 2021
[cherry-pick] Add histograms to CommitProxyServer. (#5299)
xumengpanda added a commit that referenced this pull request Aug 27, 2021
Cherry-pick (#5299) Add histograms to CommitProxyServer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants