Add OpenTracing shim example#282
Conversation
Codecov Report
@@ Coverage Diff @@
## master #282 +/- ##
==========================================
- Coverage 85.32% 85.29% -0.03%
==========================================
Files 38 38
Lines 1928 1931 +3
Branches 227 227
==========================================
+ Hits 1645 1647 +2
- Misses 218 219 +1
Partials 65 65
Continue to review full report at Codecov.
|
mauriciovasquezbernal
left a comment
There was a problem hiding this comment.
I didn't try it myself by generally it looks fine.
I added comments about some details I spotted.
|
Ran through the example. Other than the missing |
009aaa2 to
6ffa86c
Compare
ocelotl
left a comment
There was a problem hiding this comment.
Please review, I tried the example itself and it works fine 👍
ext/opentelemetry-ext-opentracing-shim/src/opentelemetry/ext/opentracing_shim/__init__.py
Outdated
Show resolved
Hide resolved
|
Thanks for fixing this @ocelotl! Approved with a non-blocking comment. |
|
I see that now the PR has also some changes to the code of the shim, are those changes necessary?, if yes my suggestion would be to open a PR containing only those changes, IMO a PR that implements an example but also modifies the source code creates confusion. |
This reverts commit 5a224ad.
It looks like 5a224ad was necessary to avoid some false-positive |
|
@mauriciovasquezbernal this should be ready to go now that #376 is in. |
Oberon00
left a comment
There was a problem hiding this comment.
I don't really like that we need to work around pylint here, but otherwise LGTM.
Co-Authored-By: Christian Neumüller <christian+github@neumueller.me>
Co-Authored-By: Mauricio Vásquez <mauricio@kinvolk.io>
This reverts commit 9d3ef06.
|
@mauriciovasquezbernal 0239c08 is the last revert (of a revert of a revert...). |
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com> Co-authored-by: Christian Neumüller <christian+github@neumueller.me> Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io>
I was working on a demo for OpenTracing compatibility and thought it'd be useful to include as an example here.
I wrote this in the style of #277, and copied some boilerplate text from that PR. We should consider making examples work with any backend, but I've only included Jaeger for now.
@johananl, @codeboten, @carlosalberto, let me know what you think!