GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add batch throttled ms metric by mutianf · Pull Request #888 · googleapis/java-bigtable

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@mutianf

@mutianf mutianf commented Jun 23, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

BatcherImpl will add throttled time to ApiCallContext. Get the time from call context and export it to batch_throttled_time metric.

(This change depends on new gax release with googleapis/gax-java#1463)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the googleapis/java-bigtable API. label Jun 23, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 23, 2021
@mutianf
mutianf force-pushed the throttle_stats2 branch from 9b2508c to 82c0f09 Compare August 11, 2021 21:17
mutianf
mutianf commented Aug 19, 2021
View reviewed changes
Comment thread google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mutianf
mutianf force-pushed the throttle_stats2 branch from 0117f10 to c0723f1 Compare October 29, 2021 20:08
@mutianf mutianf changed the title feat: add batch metrics feat: add batch throttled ms metric Oct 29, 2021
@mutianf
mutianf marked this pull request as ready for review October 29, 2021 20:13
@mutianf
mutianf requested a review from a team October 29, 2021 20:13
@mutianf mutianf mentioned this pull request Nov 3, 2021
feat: add builtin metrics part 2 #1054
Closed
@mutianf
mutianf force-pushed the throttle_stats2 branch from c0723f1 to 2026495 Compare November 18, 2021 20:42
@mutianf
mutianf requested a review from igorbernstein2 November 22, 2021 15:58
@mutianf
feat: add throttled time to ApiTracer
81370d0
@mutianf
mutianf force-pushed the throttle_stats2 branch from 2516635 to 81370d0 Compare December 3, 2021 16:09
@mutianf
fix abstract class
622c81c
@mutianf mutianf added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2021
igorbernstein2
igorbernstein2 reviewed Dec 8, 2021
View reviewed changes
Comment thread ...loud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...loud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...loud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/BigtableTracer.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...d-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/CompositeTracer.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...oud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracer.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/TracedBatcherUnaryCallable.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

mutianf added 2 commits December 8, 2021 17:07
@mutianf
update based on review
b9efd00
@mutianf
fix format
e2e99d0
igorbernstein2
igorbernstein2 reviewed Dec 9, 2021
View reviewed changes
Comment thread ...gtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/CompositeTracerTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2
igorbernstein2 reviewed Dec 9, 2021
View reviewed changes
Comment thread ...bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracerTest.java Outdated
metricsTracerMethodNames.add(method.getName());
}
for (Method method : baseMethods) {
Truth.assertThat(metricsTracerMethodNames).contains(method.getName());

@igorbernstein2 igorbernstein2 Dec 9, 2021

Copy link
Copy Markdown
Contributor

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.

same as CompositeTracer

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
igorbernstein2
igorbernstein2 reviewed Dec 9, 2021
View reviewed changes
Comment thread ...bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracerTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2
igorbernstein2 reviewed Dec 9, 2021
View reviewed changes
Comment thread ...bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracerTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2
igorbernstein2 reviewed Dec 9, 2021
View reviewed changes
Comment thread ...bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics/MetricsTracerTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

mutianf added 4 commits December 9, 2021 13:51
@mutianf
updates on comments
445d815
@mutianf
make tests more readable
b359858
@mutianf
update year
f86251b
@mutianf
fix test
9cb143a
@mutianf
mutianf force-pushed the throttle_stats2 branch from d32aa4a to 9cb143a Compare December 9, 2021 21:53
igorbernstein2
igorbernstein2 approved these changes Dec 9, 2021
View reviewed changes
@mutianf
make the test more readable
aae1b35
@mutianf
mutianf force-pushed the throttle_stats2 branch from 22de64c to aae1b35 Compare December 9, 2021 22:17
@mutianf
mutianf merged commit 0d197a5 into googleapis:main Dec 10, 2021
@mutianf
mutianf deleted the throttle_stats2 branch December 10, 2021 15:13
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jan 5, 2022
@release-please
chore: release 2.5.0 (#1102)
3a75b84
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/java-bigtable/compare/v2.4.0...v2.5.0) (2022-01-05)


### Features

* add batch throttled ms metric ([#888](https://www.github.com/googleapis/java-bigtable/issues/888)) ([0d197a5](https://www.github.com/googleapis/java-bigtable/commit/0d197a5ab9b7ccd20091c1c6c4a794586d6a51dc))
* ARM support for gcloud bigtable emulator ([#1094](https://www.github.com/googleapis/java-bigtable/issues/1094)) ([d3cb4a4](https://www.github.com/googleapis/java-bigtable/commit/d3cb4a4e03ae0f7e065bfee06ac8e3b86b447a4a))


### Bug Fixes

* align ip version preference for the wrapped  emulator ([#1052](https://www.github.com/googleapis/java-bigtable/issues/1052)) ([9dc93c5](https://www.github.com/googleapis/java-bigtable/commit/9dc93c5c9372f1501006e2d3a3a7affecd65fb8e))
* remove stats from javadoc ([#1108](https://www.github.com/googleapis/java-bigtable/issues/1108)) ([33fe7fe](https://www.github.com/googleapis/java-bigtable/commit/33fe7fe162cf84339e1887b052e446ef0aaf19d6))
* remove tracking latency from channel priming requests ([#1082](https://www.github.com/googleapis/java-bigtable/issues/1082)) ([bd873bc](https://www.github.com/googleapis/java-bigtable/commit/bd873bc82f0b210312fd442678c801758291935e))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
mutianf pushed a commit to mutianf/java-bigtable that referenced this pull request Mar 18, 2022
@release-please @mutianf
chore: release 2.5.0 (googleapis#1102)
c1ea09f
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/java-bigtable/compare/v2.4.0...v2.5.0) (2022-01-05)


### Features

* add batch throttled ms metric ([googleapis#888](https://www.github.com/googleapis/java-bigtable/issues/888)) ([0d197a5](https://www.github.com/googleapis/java-bigtable/commit/0d197a5ab9b7ccd20091c1c6c4a794586d6a51dc))
* ARM support for gcloud bigtable emulator ([googleapis#1094](https://www.github.com/googleapis/java-bigtable/issues/1094)) ([d3cb4a4](https://www.github.com/googleapis/java-bigtable/commit/d3cb4a4e03ae0f7e065bfee06ac8e3b86b447a4a))


### Bug Fixes

* align ip version preference for the wrapped  emulator ([googleapis#1052](https://www.github.com/googleapis/java-bigtable/issues/1052)) ([9dc93c5](https://www.github.com/googleapis/java-bigtable/commit/9dc93c5c9372f1501006e2d3a3a7affecd65fb8e))
* remove stats from javadoc ([googleapis#1108](https://www.github.com/googleapis/java-bigtable/issues/1108)) ([33fe7fe](https://www.github.com/googleapis/java-bigtable/commit/33fe7fe162cf84339e1887b052e446ef0aaf19d6))
* remove tracking latency from channel priming requests ([googleapis#1082](https://www.github.com/googleapis/java-bigtable/issues/1082)) ([bd873bc](https://www.github.com/googleapis/java-bigtable/commit/bd873bc82f0b210312fd442678c801758291935e))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@igorbernstein2 igorbernstein2 igorbernstein2 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mutianf @igorbernstein2 @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.