Repository navigation
feat(docs): add o11y sample - #9456
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new observability sample demonstrating how to configure OpenTelemetry tracing for Google Cloud client libraries, and updates the README to document it. The review feedback suggests moving the OpenTelemetry initialization, instrumentation registration, and environment variable configuration to the top level of the file rather than inside the main() function, ensuring that network modules are properly patched before any client libraries are imported.
shivanee-p
marked this pull request as ready for review
September 26, 2026 00:22
shivanee-p
enabled auto-merge (squash)
September 26, 2026 00:22
feywind
approved these changes
Sep 28, 2026
feywind
left a comment
Contributor
There was a problem hiding this comment.
I'll mark approve to not hold you up, but it looks like there might be a few things to look at.
feywind
disabled auto-merge
September 28, 2026 17:51
Co-authored-by: feywind <[email protected]>
Co-authored-by: feywind <[email protected]>
shivanee-p
force-pushed
the
shivaneep-o11y-sample
branch
from
September 28, 2026 22:18
ee8f0ae to
8d51928
Compare
shivanee-p
enabled auto-merge (squash)
September 28, 2026 22:26
Merged
codyoss
pushed a commit
that referenced
this pull request
Sep 29, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>google-gax: 6.10.0</summary> ## [6.10.0](google-gax-v6.9.0...google-gax-v6.10.0) (2026-09-29) ### Features * **docs:** Add o11y sample ([#9456](#9456)) ([c0e0540](c0e0540)) </details> <details><summary>api-gateway: 5.4.0</summary> ## [5.4.0](api-gateway-v5.3.1...api-gateway-v5.4.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>google-cloud-bigtable-api: 0.9.0</summary> ## [0.9.0](google-cloud-bigtable-api-v0.8.0...google-cloud-bigtable-api-v0.9.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>compute: 7.6.0</summary> ## [7.6.0](compute-v7.5.1...compute-v7.6.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>dataform: 3.4.0</summary> ## [3.4.0](dataform-v3.3.1...dataform-v3.4.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>dialogflow: 8.2.0</summary> ## [8.2.0](dialogflow-v8.1.1...dialogflow-v8.2.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>retail: 5.4.0</summary> ## [5.4.0](retail-v5.3.1...retail-v5.4.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> <details><summary>health: 0.8.0</summary> ## [0.8.0](health-v0.7.0...health-v0.8.0) (2026-09-29) ### Features * Update API sources and regenerate ([#9472](#9472)) ([514e2f6](514e2f6)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a standalone code sample demonstrating how customers can configure OpenTelemetry tracing for Google Cloud Node.js client libraries using
google-gax.The sample demonstrates enabling:
@opentelemetry/instrumentation-httpand@opentelemetry/instrumentation-grpcto capture low-level network calls.GOOGLE_SDK_NODE_ENABLE_TRACING=trueenvironment variable to capturegoogle-gaxRPC attempt spans.