Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sample for commit stats #241

Merged
merged 10 commits into from Feb 26, 2021
Merged

Conversation

larkee
Copy link
Contributor

@larkee larkee commented Feb 23, 2021

This PR adds a sample to show how to log commit stats for a Cloud Spanner transaction. It also show how a custom logger can be used to access the commit stats within the code.

@product-auto-label product-auto-label bot added the api: spanner label Feb 23, 2021
@snippet-bot
Copy link

@snippet-bot snippet-bot bot commented Feb 23, 2021

Here is the summary of changes.

You are about to add 1 region tag.

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

@product-auto-label product-auto-label bot added the samples label Feb 23, 2021
@google-cla google-cla bot added the cla: yes label Feb 23, 2021
@larkee larkee requested review from thiagotnunes and skuruppu Feb 23, 2021
samples/samples/snippets.py Outdated Show resolved Hide resolved
@larkee larkee marked this pull request as ready for review Feb 24, 2021
@larkee larkee requested review from as code owners Feb 24, 2021
@larkee larkee requested review from busunkim96 and removed request for Feb 24, 2021
samples/samples/snippets.py Outdated Show resolved Hide resolved
samples/samples/snippets.py Outdated Show resolved Hide resolved
samples/samples/snippets.py Outdated Show resolved Hide resolved
larkee and others added 2 commits Feb 25, 2021
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: skuruppu <skuruppu@google.com>
@larkee larkee requested a review from busunkim96 Feb 25, 2021
@larkee larkee merged commit 1343656 into googleapis:master Feb 26, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner cla: yes samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants