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

chore: move tracer creation to bigtable client context - #2797

Merged
gcf-merge-on-green[bot] merged 4 commits into
mainfrom
ctx3-btctx-tracer-children
Feb 23, 2026
Merged

chore: move tracer creation to bigtable client context#2797
gcf-merge-on-green[bot] merged 4 commits into
mainfrom
ctx3-btctx-tracer-children

Conversation

@igorbernstein2

Copy link
Copy Markdown
Contributor
  • BigtableClientContext stores the resource anchor (instance name/app profile)
  • BigtableClientContext stores the opencensus deps
  • This allows it to create all of the tracers during initialization
  • BigtableClientContext can create lightweight copies of itself for BigtableDataClientFactory
  • close logic of shared contexts is now stored in BigtableClientContext via isChild

Change-Id: I10b658c2a808543ba29830a9ccccb21cdf862768
Change-Id: I92a22daa8ed049b94093eccb054cdb2d401ffdea
- BigtableClientContext stores the resource anchor (instance name/app profile)
- BigtableClientContext stores the opencensus deps
- This allows it to create all of the tracers during initialization
- BigtableClientContext can create lightweight copies of itself for BigtableDataClientFactory
- close logic of shared contexts is now stored in BigtableClientContext via isChild

Change-Id: Ic783fbdb583d96ddf47b4d61630655826f655b7d
@igorbernstein2
igorbernstein2 requested review from a team as code owners February 23, 2026 18:30
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Feb 23, 2026

@nimf nimf left a comment

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.

LGTM

@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: xl Pull request size is extra large. labels Feb 23, 2026
@igorbernstein2 igorbernstein2 added the automerge Merge the pull request once unit tests and other checks pass. label Feb 23, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit e67d869 into main Feb 23, 2026
37 of 38 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 23, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot deleted the ctx3-btctx-tracer-children branch February 23, 2026 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants