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(jdbc): basic OpenTelemetry tracing integration for BigQuery JDBC Statement by keshavdandeva · Pull Request #12124 · googleapis/google-cloud-java

Conversation

@keshavdandeva

@keshavdandeva keshavdandeva commented Mar 20, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

b/491239772
b/491239773

Changes

  • New connection properties: enableGcpTraceExporter (Boolean, default: false) and enableGcpLogExporter (Boolean, default: false)

  • customOpenTelemetry (Instance): Programmatic injection of a custom SDK (User Application-Managed setup) via BigQueryDataSource.setCustomOpenTelemetry()

  • Added the core initialization logic for OpenTelemetry. During connection setup, it evaluates whether tracing is enabled and constructs an OpenTelemetry Tracer instance. Then, it passes this newly minted tracer strictly downward into the core BigQueryOptions.Builder via .setOpenTelemetryTracer()

  • Intercepted the execution functions (execute, executeQuery, executeLargeUpdate, executeBatch) to spawn child spans wrapping each database call.

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
keshavdandeva added 4 commits March 20, 2026 19:00
@keshavdandeva
build: add OpenTelemetry shaded and unshaded dependencies to pom.xml
d00ae37
@keshavdandeva
feat: add openTelemetry connection properties
01734d1
@keshavdandeva
feat: add basic OpenTelemetry tracing hooks to BigQuery JDBC statements
b743313
@keshavdandeva
lint: fix lint
122c14e
@gemini-code-assist

gemini-code-assist Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request establishes the foundational OpenTelemetry tracing capabilities within the BigQuery JDBC driver. It allows for detailed observability of database interactions by automatically creating spans for JDBC query, update, and batch operations, enriching them with query details, execution times, and error information. This integration is designed to be non-disruptive, providing valuable insights into driver performance and behavior without altering existing workflows.

Highlights

  • OpenTelemetry Tracing Integration: Integrated foundational OpenTelemetry tracing into the BigQuery JDBC driver to provide observability for database interactions.
  • JDBC Execution Interception: Implemented interception for standard JDBC executions, including queries, updates, and batch operations, to create and manage OpenTelemetry spans.
  • Span Enrichment: Enhanced OpenTelemetry spans with details such as query text, execution latencies, and exception tagging for comprehensive performance monitoring.
  • Configuration Properties: Introduced new connection properties, EnableOpenTelemetry and OpenTelemetryExporter, allowing users to enable and configure tracing behavior.
  • Dependency Management: Updated Maven dependencies to include OpenTelemetry libraries and configured shading exclusions to prevent conflicts with OpenTelemetry API and Context classes.
  • Dedicated OpenTelemetry Utility: Added a new utility class, BigQueryJdbcOpenTelemetry, to centralize the initialization and management of OpenTelemetry instances and tracers.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

All reactions

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Mar 20, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request introduces foundational OpenTelemetry tracing for the BigQuery JDBC driver's statement execution, which is a valuable addition for observability. The implementation correctly handles context propagation for asynchronous operations like pagination and streaming, and follows standard OpenTelemetry patterns for creating spans and recording exceptions. I have provided a couple of suggestions: one is a minor correction for a copyright year, and the other is a recommendation to unify the exception handling logic within the new tracing code for improved consistency and maintainability. Overall, this is a solid contribution.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcOpenTelemetry.java Resolved

Uh oh!

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

Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Resolved

Uh oh!

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

keshavdandeva added 3 commits March 23, 2026 21:08
@keshavdandeva
chore: refactor spans
9eeed5f
@keshavdandeva
chore: fix dependencies
927599a
@keshavdandeva
fix: remove versions from dependencies
cb578ac
@keshavdandeva

keshavdandeva commented Mar 23, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Mar 23, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This PR introduces OpenTelemetry tracing for JDBC statements, which is a great feature for observability. The implementation correctly wraps statement execution methods to create spans, and it handles context propagation to asynchronous tasks. My review includes two main suggestions for improvement: refactoring duplicated tracing logic in BigQueryStatement to improve maintainability, and enhancing exception logging in BigQueryJdbcOpenTelemetry to retain stack traces for better diagnostics. Overall, the changes are well-structured and provide a solid foundation for tracing.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcOpenTelemetry.java Resolved

Uh oh!

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

Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Resolved

Uh oh!

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

@keshavdandeva
refactor: create functional interface withTracing
d9418fc
@keshavdandeva
keshavdandeva marked this pull request as ready for review March 24, 2026 00:14
@keshavdandeva
keshavdandeva requested review from a team as code owners March 24, 2026 00:14
@keshavdandeva
Merge branch 'main' into jdbc/otel-clean-branch
fc0174f
logachev
logachev reviewed Mar 24, 2026
View reviewed changes
Comment thread ...uery/google-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/DataSource.java Resolved

Uh oh!

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

Comment thread ...ud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcOpenTelemetry.java Resolved

Uh oh!

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

Comment thread ...ud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcOpenTelemetry.java Resolved

Uh oh!

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

keshavdandeva added 2 commits March 24, 2026 22:45
@keshavdandeva
refactor: remove exporter dep and logic
7b56606
@keshavdandeva
fix: lint
27016c0
@keshavdandeva
keshavdandeva requested a review from logachev March 24, 2026 23:55
@keshavdandeva
keshavdandeva marked this pull request as draft March 27, 2026 00:01
keshavdandeva added 2 commits March 27, 2026 02:00
@keshavdandeva
refactor: rename connection property EnableOpenTelemetry and remove…
c457034
… "master-switch" logic
@keshavdandeva
chore: add Span Links for asynchronous pagination
1204b1f
@keshavdandeva

keshavdandeva commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Mar 27, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request integrates OpenTelemetry into the BigQuery JDBC driver to enable tracing for query execution, batch operations, and pagination. It introduces a new connection property, 'enableDefaultTelemetryExporter', and allows users to provide a custom OpenTelemetry instance. A critical compilation error was identified in the 'withTracing' method within BigQueryStatement.java, where a broad Exception is caught and rethrown, violating the method's checked exception signature.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Resolved

Uh oh!

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

@keshavdandeva
fix: exception check for methods
f1c14f0
@keshavdandeva

keshavdandeva commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Mar 27, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request introduces OpenTelemetry tracing to the BigQuery JDBC driver by adding necessary dependencies, a telemetry utility class, and wrapping statement execution and pagination with tracing spans. It also enables telemetry configuration through connection properties and the DataSource class. A critical bug was noted in BigQueryDriver where passing a customOpenTelemetry object via connection properties results in it being incorrectly stringified into the URL, breaking programmatic injection; the reviewer recommends using the DataSource constructor to preserve the object reference.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread .../google-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryDriver.java Resolved

Uh oh!

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

@keshavdandeva
fix: customOpenTelemetry injection in properties
855ab94
@keshavdandeva

keshavdandeva commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

@keshavdandeva
fix: getSafeTracer()
f177da6
@keshavdandeva

keshavdandeva commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Mar 27, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request introduces OpenTelemetry tracing to the BigQuery JDBC driver. Key changes include adding OpenTelemetry dependencies to the project, introducing a new connection property enableDefaultTelemetryExporter, and allowing a customOpenTelemetry instance to be passed through connection properties. The implementation wraps core execution methods in BigQueryStatement with tracing logic and ensures that asynchronous background tasks, such as result pagination and stream processing, correctly propagate the telemetry context. I have no feedback to provide as there were no review comments to evaluate.

Sorry, something went wrong.

Uh oh!

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

All reactions
@keshavdandeva
keshavdandeva marked this pull request as ready for review March 27, 2026 03:38
keshavdandeva added 4 commits March 31, 2026 02:12
@keshavdandeva
fix: NPE
c0b915a
@keshavdandeva
Merge branch 'main' into jdbc/otel-clean-branch
ec25dcf
@keshavdandeva
chore: remove enableDefaultTelemetryExporter and introduce `enableG…
44a371b
…cpTraceExporter` `enableGcpLogExporter`
@keshavdandeva
Merge branch 'main' into jdbc/otel-clean-branch
483e073
@keshavdandeva

keshavdandeva commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Apr 3, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request integrates OpenTelemetry into the BigQuery JDBC driver to provide tracing for query execution and asynchronous tasks. It introduces new connection properties for enabling GCP trace and log exporters, allows for a custom OpenTelemetry instance, and wraps key statement execution methods and background threads with tracing spans and context. Feedback was provided to add a private constructor to the BigQueryJdbcOpenTelemetry utility class to follow best practices for utility classes.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcOpenTelemetry.java Resolved

Uh oh!

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

keshavdandeva added 2 commits April 3, 2026 14:21
@keshavdandeva
add private constructor for BigQueryJdbcOpenTelemetry
cf8b180
@keshavdandeva
add unit tests
494ad7a
@keshavdandeva
keshavdandeva requested a review from Neenu1995 April 3, 2026 14:38
@keshavdandeva
Merge branch 'main' into jdbc/otel-clean-branch
aa5e9a0
@keshavdandeva
keshavdandeva changed the base branch from main to jdbc/feature-branch-otel April 16, 2026 13:44
logachev
logachev reviewed Apr 22, 2026
View reviewed changes
Comment thread java-bigquery/google-cloud-bigquery-jdbc/pom.xml Resolved

Uh oh!

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

Comment thread ...gle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryConnection.java Resolved

Uh oh!

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

Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Resolved

Uh oh!

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

@keshavdandeva
chore: address pr feedback
437f748
@keshavdandeva
keshavdandeva requested a review from logachev April 22, 2026 13:31
logachev
logachev reviewed Apr 23, 2026
View reviewed changes
Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Outdated
sb.append(query);
}
String combinedQueries = sb.toString();
span.setAttribute("db.statement", combinedQueries);

@logachev logachev Apr 23, 2026

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.

Should we define a separate attribute for a list of strings instead?

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Yes, and I also realised I can store the batch queries as a structured string array attribute (db.batch.statements) instead of a concatenated string.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Outdated
}
Context.current()
.wrap(
() -> {

@logachev logachev Apr 23, 2026

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.

At this point, should we move lambdas to functions instead?

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Yeah, it is getting quite messy.

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

I moved these two to new functions

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ogle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryStatement.java Outdated
@Override
public boolean execute(String sql) throws SQLException {
LOG.finest("++enter++");
Tracer tracer = getSafeTracer();

@logachev logachev Apr 23, 2026

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.

Can probably add a generic method private T traceMethod(String spanName, Runnable<T> ) and pass Impl method as a lambda

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Hm I am a bit confused because the previous version of PR had that exact pattern (using a withTracing helper that took a lambda), but I refactored it because I interpreted your previous comment:

I'd suggest using executeQueryImpl method for core logic instead of moving it to lambda. So that way public interface method will be tracer-wrapper on top of actual executeQueryImpl

as a preference for avoiding lambdas in these execution methods.

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Can probably add a generic method private T traceMethod(String spanName, Runnable ) and pass Impl method as a lambda

Done

Sorry, something went wrong.

Uh oh!

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

All reactions
@logachev logachev changed the title feat(jdbc): basic OpenTelemetry tracing integration for BigQuery JDBC Statement [DO_NOT_MERGE] feat(jdbc): basic OpenTelemetry tracing integration for BigQuery JDBC Statement Apr 23, 2026
Neenu1995
Neenu1995 reviewed Apr 23, 2026
View reviewed changes
Comment thread ...gle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryConnection.java Resolved

Uh oh!

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

Comment thread ...gle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryConnection.java Resolved

Uh oh!

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

Comment thread ...gle-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryConnection.java
this.enableGcpTraceExporter, this.enableGcpLogExporter, this.customOpenTelemetry);
if (this.enableGcpTraceExporter || this.customOpenTelemetry != null) {
this.tracer = BigQueryJdbcOpenTelemetry.getTracer(openTelemetry);
bigQueryOptions.setOpenTelemetryTracer(this.tracer);

@Neenu1995 Neenu1995 Apr 23, 2026

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.

What about the other clients? Do they support OTel?

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Yes, the BigQueryReadSettings also supports it. I have added it.

Sorry, something went wrong.

Uh oh!

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

All reactions

@Neenu1995 Neenu1995 Apr 23, 2026

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.

There is a write client as well.

Sorry, something went wrong.

Uh oh!

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

All reactions

@keshavdandeva keshavdandeva Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

Yeah, I checked the source for BigQueryWriteSettings in the parent project, and unlike the read client settings, it does not expose a setOpenTelemetryTracerProvider(...) method.
Also, I think its not needed, its network calls should be traced as children of our active spans via context propagation, once it is fully implemented

Sorry, something went wrong.

Uh oh!

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

All reactions
@keshavdandeva
chore: refactor based on pr review
adba483
@keshavdandeva
keshavdandeva requested a review from logachev April 23, 2026 13:55
@keshavdandeva
chore: add passing tracer to Storage Read client
50b9171
@keshavdandeva
keshavdandeva requested review from Neenu1995 April 23, 2026 14:12
Neenu1995
Neenu1995 approved these changes Apr 23, 2026
View reviewed changes

@Neenu1995 Neenu1995 left a comment

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.

LGTM. But add the write client as well if it supports OTel.

Sorry, something went wrong.

Uh oh!

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

All reactions
@keshavdandeva keshavdandeva changed the title [DO_NOT_MERGE] feat(jdbc): basic OpenTelemetry tracing integration for BigQuery JDBC Statement feat(jdbc): basic OpenTelemetry tracing integration for BigQuery JDBC Statement Apr 23, 2026
@keshavdandeva
keshavdandeva merged commit a33f3fe into jdbc/feature-branch-otel Apr 23, 2026
88 checks passed

Uh oh!

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

@keshavdandeva
keshavdandeva deleted the jdbc/otel-clean-branch branch April 23, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@logachev logachev Awaiting requested review from logachev
@Neenu1995 Neenu1995 Awaiting requested review from Neenu1995
1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
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

None yet

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

@keshavdandeva @logachev @Neenu1995
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.