Skip to content

feat(gax): add logging to observability sample - #9786

Open
shivanee-p wants to merge 1 commit into
shivaneep-o11y-add-logging-callsfrom
shivaneep-release-logging
Open

shivanee-p wants to merge 1 commit into
shivaneep-o11y-add-logging-callsfrom
shivaneep-release-logging

Conversation

@shivanee-p

Copy link
Copy Markdown
Contributor

Add logging implementation to the observability sample and remove the logging experimental flag check

@shivanee-p
shivanee-p added this pull request to stack #9746 October 30, 2026 22:23
@shivanee-p
shivanee-p requested a review from a team as a code owner October 30, 2026 22:23
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Oct 30, 2026
@github-actions
github-actions Bot requested a review from danieljbruce October 30, 2026 22:24

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces telemetry logging capabilities across Google Cloud Node.js client libraries, integrating it with OpenTelemetry tracing, and refactoring the core GAX client options, error utilities, and settings construction. The review feedback highlights several critical issues: constructSettings is called with arguments in the incorrect order in iamService.ts, locationService.ts, and operationsClient.ts. Additionally, potential runtime TypeError crashes were identified in gax.ts when backoff or retry is null/undefined, and in LoggerHelper.ts if loggingUtils.getNodeBackend() returns null or undefined.

Comment thread core/packages/gax/src/iamService.ts Resolved
Comment thread core/packages/gax/src/gax.ts Resolved
Comment thread core/packages/gax/src/gax.ts Resolved
@shivanee-p
shivanee-p force-pushed the shivaneep-release-logging branch from 28f3e69 to 25f823b Compare October 30, 2026 22:26
@shivanee-p
shivanee-p force-pushed the shivaneep-release-logging branch from 25f823b to 7cc3010 Compare October 30, 2026 23:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant