Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

chore: add user agent suffix - #842

Merged
daniel-sanche merged 6 commits into
googleapis:v3from
daniel-sanche:useragent
Aug 17, 2023
Merged

chore: add user agent suffix#842
daniel-sanche merged 6 commits into
googleapis:v3from
daniel-sanche:useragent

Conversation

@daniel-sanche

@daniel-sanchedaniel-sanche commented Jul 24, 2023

Copy link
Copy Markdown
Contributor

This PR adds a suffix to the gccl user-agent string, so we can tell the difference between the legacy client and the v3 data client in our metrics.

The legacy client is remains X.Y.Z, but the v3 client is X.Y.Z-data-async. Eventually, we can also have X.Y.Z-data-sync

@daniel-sanche
daniel-sanche requested review from a teamJuly 24, 2023 20:50
@product-auto-labelproduct-auto-labelBot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/python-bigtable API. labels Jul 24, 2023
Comment threadgoogle/cloud/bigtable/client.py Outdated
if client_info is None:
client_info = client_info_lib.ClientInfo(
client_library_version=bigtable.__version__,
client_library_version=f"{bigtable.__version__}-legacy",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thinking about this a bit more, Lets leave the old agent the same in case there are dashboard that care about it. Instead have the new clients be suffixed with sync & async

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Sounds good, reverted

@daniel-sanchedaniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 17, 2023
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 17, 2023
@daniel-sanche
daniel-sanche merged commit 0b3606f into googleapis:v3Aug 17, 2023
@daniel-sanche
daniel-sanche deleted the useragent branch August 17, 2023 18:00
daniel-sanche added a commit that referenced this pull request Feb 5, 2024
* feat: add new v3.0.0 API skeleton (#745)
* feat: improve rows filters (#751)
* feat: read rows query model class (#752)
* feat: implement row and cell model classes (#753)
* feat: add pooled grpc transport (#748)
* feat: implement read_rows (#762)
* feat: implement mutate rows (#769)
* feat: literal value filter (#767)
* feat: row_exists and read_row (#778)
* feat: read_modify_write and check_and_mutate_row (#780)
* feat: sharded read rows (#766)
* feat: ping and warm with metadata (#810)
* feat: mutate rows batching (#770)
* chore: restructure module paths (#816)
* feat: improve timeout structure (#819)
* fix: api errors apply to all bulk mutations
* chore: reduce public api surface (#820)
* feat: improve error group tracebacks on < py11 (#825)
* feat: optimize read_rows (#852)
* chore: add user agent suffix (#842)
* feat: optimize retries (#854)
* feat: add test proxy (#836)
* chore(tests): add conformance tests to CI for v3 (#870)
* chore(tests): turn off fast fail for conformance tets (#882)
* feat: add TABLE_DEFAULTS enum for table method arguments (#880)
* fix: pass None for retry in gapic calls (#881)
* feat: replace internal dictionaries with protos in gapic calls (#875)
* chore: optimize gapic calls (#863)
* feat: expose retryable error codes to users (#879)
* chore: update api_core submodule (#897)
* chore: merge main into experimental_v3 (#900)
* chore: pin conformance tests to v0.0.2 (#903)
* fix: bulk mutation eventual success (#909)
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigtableIssues related to the googleapis/python-bigtable API.size: sPull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@daniel-sanche@mutianf@igorbernstein2@yoshi-kokoro