googleapis / nodejs-spanner

Node.js client for Google Cloud Spanner: the world’s first fully managed relational database service to offer both strong consistency and horizontal scalability.
https://cloud.google.com/spanner/
Apache License 2.0
136 stars 100 forks source link

DO NOT MERGE: feat: instrument src/ with traces using OpenTelemetry #2087

Closed odeke-em closed 3 weeks ago

odeke-em commented 3 months ago

This change implements tracing of RPC calls using OpenTelemetry to aid in providing observability.

Fixes #2079

snippet-bot[bot] commented 3 months ago

Here is the summary of changes.

You are about to add 1 region tag. - [samples/observability-traces.js:18](https://github.com/odeke-em/nodejs-spanner/blob/867a102f999577a03f9efbcc2b6ee4776265c8f9/samples/observability-traces.js#L18), tag `spanner_export_traces`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

generated-files-bot[bot] commented 3 months ago

Warning: This pull request is touching the following templated files:

odeke-em commented 2 months ago

@surbhigarg92 this PR is ready for review!

odeke-em commented 3 weeks ago

Successfully dissected and no longer necessary!