GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — observability: PDML + some batch write spans by odeke-em · Pull Request #1274 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@odeke-em

@odeke-em odeke-em commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

This change adds spans for Partitioned DML and making updates for Batch.

Carved out from PR #1241.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@odeke-em
odeke-em requested review from a team December 17, 2024 12:55
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: spanner Issues related to the googleapis/python-spanner API. labels Dec 17, 2024
@blunderbuss-gcf blunderbuss-gcf Bot assigned asthamohta Dec 17, 2024
@odeke-em
odeke-em force-pushed the trace-pdml branch 2 times, most recently from c11580f to 7dfb796 Compare December 27, 2024 14:12
@odeke-em

odeke-em commented Dec 27, 2024

Copy link
Copy Markdown
Contributor Author

@harshachinta @olavloite kindly help me run the bots for this PR. Thank you.

harshachinta reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 27, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 27, 2024
@odeke-em

odeke-em commented Dec 28, 2024

Copy link
Copy Markdown
Contributor Author

@harshachinta @olavloite kindly help me re-run the bots, I had to account for Python3.7 in the tests and fixed that, all pass locally.

harshachinta reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 28, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 28, 2024
harshachinta
harshachinta reviewed Jan 8, 2025
View reviewed changes
Comment thread google/cloud/spanner_v1/database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/spanner_v1/database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/spanner_v1/merged_result_set.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/spanner_v1/session.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/spanner_v1/snapshot.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_observability_options.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_observability_options.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 8, 2025
harshachinta
harshachinta reviewed Jan 8, 2025
View reviewed changes
Comment thread tests/unit/test_snapshot.py Outdated
Comment on lines +1233 to +1234
if not HAS_OPENTELEMETRY_INSTALLED:
return

@harshachinta harshachinta Jan 8, 2025

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed right since assertSpanAttributes method already checks for this condition?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@odeke-em odeke-em Jan 9, 2025

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, before I was manually comparing attributes and span names but with the update that I made I no longer need it, done, thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/unit/test_snapshot.py Outdated
Comment on lines +1231 to +1244
attributes=dict(
BASE_ATTRIBUTES, table_id=TABLE_NAME, columns=tuple(COLUMNS)
),
attributes=want_span_attributes,

@harshachinta harshachinta Jan 8, 2025

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing has changed here? why not keep it the same?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/unit/test_snapshot.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/test_transaction.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/test_transaction.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@odeke-em
odeke-em force-pushed the trace-pdml branch from 7af9fcf to ea2551a Compare January 9, 2025 04:39
@odeke-em
odeke-em requested a review from harshachinta January 9, 2025 09:01
@odeke-em

odeke-em commented Jan 9, 2025

Copy link
Copy Markdown
Contributor Author

@harshachinta kindly help me run the bots. Thank you

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sakthivelmanii sakthivelmanii added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2025
harshachinta
harshachinta approved these changes Jan 10, 2025
View reviewed changes
Comment thread google/cloud/spanner_v1/merged_result_set.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

odeke-em added 7 commits January 10, 2025 00:20
@odeke-em
observability: PDML + some batch write spans
048e4cc
This change adds spans for Partitioned DML and making
updates for Batch.

Carved out from PR googleapis#1241.
@odeke-em
Add more system tests
213b0af
@odeke-em
Account for lack of OpenTelemetry on Python-3.7
f75a33c
@odeke-em
Update tests
802a2c3
@odeke-em
Fix more test assertions
f11dde3
@odeke-em
Updates from code review
8faaccf
@odeke-em
Update tests with code review suggestions
f4a5d48
@odeke-em
Remove return per code review nit
218db3e
@odeke-em
odeke-em force-pushed the trace-pdml branch from 219ee3f to 218db3e Compare January 10, 2025 08:25
@odeke-em

odeke-em commented Jan 10, 2025

Copy link
Copy Markdown
Contributor Author

@harshachinta all done, kindly help me kick off the bots!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@odeke-em

odeke-em commented Jan 10, 2025

Copy link
Copy Markdown
Contributor Author

@alkatrivedi @sakthivelmanii kindly help me run the bots

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2025
@harshachinta
harshachinta merged commit 592047f into googleapis:main Jan 10, 2025
@odeke-em
odeke-em deleted the trace-pdml branch January 10, 2025 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@harshachinta harshachinta harshachinta approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@asthamohta asthamohta

Labels

api: spanner Issues related to the googleapis/python-spanner API. size: l Pull request size is large.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@odeke-em @harshachinta @asthamohta @yoshi-kokoro @sakthivelmanii
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.