Commit c3772de
Attempt at mapping google spans to opentelemetry ones better (#90)
* Trying to use predefined labels as per https://cloud.google.com/trace/docs/reference/v1/rest/v1/projects.traces#get
* No need for a regexp
* Ok pylint
* Ok py35 no f-strings
* Using a mapping
* Update opentelemetry-exporter-google-cloud/src/opentelemetry/exporter/cloud_trace/__init__.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update opentelemetry-exporter-google-cloud/src/opentelemetry/exporter/cloud_trace/__init__.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update opentelemetry-exporter-google-cloud/src/opentelemetry/exporter/cloud_trace/__init__.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update opentelemetry-exporter-google-cloud/src/opentelemetry/exporter/cloud_trace/__init__.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update opentelemetry-exporter-google-cloud/src/opentelemetry/exporter/cloud_trace/__init__.py
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Removed non-identified mappings
* Pylint
* Please mypy
* Test wip, troubles to run locally
* Corrected test
* Removed error and stacktrace mapping for now
* Removed pid
* Instanciated label mapping inside test case
* Useless line break
* Black magic for CI
* Used key directly
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Modified CHANGELOG.md
* Pylint
Co-authored-by: Aaron Abbott <aaronabbott@google.com>1 parent 79155b0 commit c3772de
3 files changed
Lines changed: 76 additions & 0 deletions
File tree
- opentelemetry-exporter-google-cloud
- src/opentelemetry/exporter/cloud_trace
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
367 | 382 | | |
368 | 383 | | |
369 | 384 | | |
| |||
374 | 389 | | |
375 | 390 | | |
376 | 391 | | |
| 392 | + | |
| 393 | + | |
377 | 394 | | |
378 | 395 | | |
379 | 396 | | |
| |||
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
216 | 272 | | |
217 | 273 | | |
218 | 274 | | |
| |||
0 commit comments