Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: db.params OpenTelemetry integration issue #346

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

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

gillesleblanc
Copy link
Contributor

When db.params are not all of the same type OpenTelemetry will log a warning.

Prevent this by stringifying values.

Also adds a SQLALCHEMY_SPANNER_TRACE_HIDE_QUERY_PARAMETERS env var to prevent logging db.params to OpenTelemetry.

Fixes #345

When db.params are not all of the same type OpenTelemetry will log a warning.

Prevent this by stringifying values.

Also adds a  SQLALCHEMY_SPANNER_TRACE_HIDE_QUERY_PARAMETERS env var to prevent logging db.params to OpenTelemetry.
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Oct 10, 2023
@olavloite
Copy link
Contributor

@gillesleblanc Sorry for the slow turnaround on this PR. The build errors seem to be unrelated to this change. I'm working on fixing those in #351, and after that we should be able to move this one forward as well.

@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 25, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 25, 2023
@olavloite olavloite merged commit 0a69031 into googleapis:main Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration between Spanner SqlAlchemy and OpenTelemetry is generating a lot of warnings
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.