nodejs-spanner
nodejs-spanner copied to clipboard
feat: (observability, samples): add tracing end-to-end sample
This change documents an end-to-end observability tracing sample using OpenTelemetry, which then exports trace spans to Google Cloud Trace.
Updates #2079
Warning: This pull request is touching the following templated files:
- README.md -
README.mdis managed bysynthtool. However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml - samples/README.md -
samples/README.mdis managed bysynthtool. However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml
No region tags are edited in this PR.
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:
- [ ] Refresh this comment
@surbhigarg92 @alkatrivedi @harshachinta kindly help me run the bots on this code, thank you!
Kindly help me run the bots @surbhigarg92! Thank you.
New samples should follow rubric format.
Refer: https://github.com/googleapis/nodejs-spanner/blob/main/samples/delete-backup-schedule.js
@alkatrivedi observability includes traces and metrics. That rubric is behind Google Corp and my email isn't activated.
@alkatrivedi sure let me tweak it look like that sample, thanks!
@alkatrivedi kindly please take a look again, thank you!
@odeke-em please add a test for the sample in https://github.com/googleapis/nodejs-spanner/blob/main/samples/system-test/spanner.test.js
Done, thank you @alkatrivedi! Please take another look.
@odeke-em Please also work on the github lint issues.