feat: Add support for open telemetry#633
Conversation
chore: add a Code of Conduct (googleapis#604)
fix: lint_setup_py was failing in Kokoro is now fixed (googleapis#607)
…into opentelemetry
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
c24t
left a comment
There was a problem hiding this comment.
The way we're testing OT is kind of surprising, but that's largely OT's fault for being difficult to test. A few minor comments, but LGTM.
larkee
left a comment
There was a problem hiding this comment.
So this adds the trace_call method but does not add any calls. This means there is no tracing being added to the library. Is the intention for users to add trace calls themselves?
For the Spanner Client and the SQLAlchemy connector, we added tracing within the libraries. See here and here for more context.
So that will have to be a follow up PR, since this PR was already crossing 300 lines, I didn't add it here. Updated the description to reflect the same info. |
Add support for open telemetry tracing if open telemetry is installed.
Added the same as extra dependency.
Also added unit tests for the same.
Follow up PR to add tracing in schema with related checks in unit tests. #648
Fixes #633 🦕