This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Commit a04996c
feat: add opentelemetry tracing (#215)
* testing first trace export
* instrumention client.py
* instrumenting job.py and adding documentation
* reconfiguring imports
* quick cleanup of unused variable
* adding more attributes in module and limiting complexity of instrumentation
* adding tests, nox and correct attribute additions in client & job
* adding tests, nox and correct attribute additions in client & job (left out of last commit)
* linting
* reformatting noxfile.[y
* addressing suggested changes
* adding suggested changes
* removing print statements
* setting same version across all OT [ackages and other reccommended changes
* suggested changes
* fixing packages issue in nox and updating documentation
* fixing module install issue
* restructuring design for testing adding first layer of tests (some still failing)
* adding reamining client tests and all job tests
* fixing linting issues
* fixing trace not defined issue
* fixing lint issues
* fixing documentation issues and python2 testing issue
* linting and fixing coverage issues
* adding suggested changes
* linting
* adding Shawn's suggested changes
* fixing _default_span_attribute_bug
* reverting uneccesxsary changes
* adding more tests for all job_ref parameters
* removing dependecny, ordering imports and other changes
* addressing Shawn concerns
* adding test and suggested changes
* adding opentelemetry to setup.py and other suggested changes
* adding reasoning for not adding to [all]
* linting
* adding Tim suggested changes
Co-authored-by: Tim Swast <swast@google.com>1 parent 1c601aa commit a04996c
9 files changed
Lines changed: 1506 additions & 319 deletions
File tree
- google/cloud/bigquery
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
0 commit comments