Sitelet https://github.com/googleapis/python-spanner/issues/1171
Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

spanner_v1/trace: allow option for extended tracing which will allow recording the SQL statement if provided #1171

Description

@odeke-em

Part of modernized tracing is that it becomes pretty useful for customers to investigate slow queries when observing traces; customers would like to opt-in to ensure that this library records their SQL statements in their traces where applicable e.g. if they've explicitly opted into having their spans annotated with the SQL statement; explicitly because some SQL statement might have personally identifiable information (PII) and leak sensitive data out.

I am going to work on this issue myself.

Activity

  1. added 5 commits that reference this issue on Jul 26, 2024
    b83a4df
    13f4dbf
    7ab3add
    8454eae
    9a315b9
  2. added a commit that references this issue on Aug 9, 2024
    a62ee3e
  3. added a commit that references this issue on Aug 19, 2024
    e69bccf
  4. added a commit that references this issue on Sep 10, 2024
    51caf4e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions