OpenTracing Bridge - Initial implementation
Initial implementation, without baggage support.
skipsdist = True
skip_missing_interpreters = True
envlist =
- py3{4,5,6,7,8}-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger}
- pypy3-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger}
+ py3{4,5,6,7,8}-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger,opentracing-shim}
+ pypy3-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger,opentracing-shim}
lint
py37-{mypy,mypyinstalled}
docs
@@ -26,6 +26,7 @@ changedir =
test-ext-jaeger: ext/opentelemetry-ext-jaeger/tests
test-ext-wsgi: ext/opentelemetry-ext-wsgi/tests
test-example-app: examples/opentelemetry-example-app/tests
+ test-opentracing-shim: ext/opentelemetry-ext-opentracing-shim/tests
commands_pre =
; Install without -e to test the actual installation
@@ -41,6 +42,7 @@ commands_pre =
http-requests: pip install {toxinidir}/ext/opentelemetry-ext-http-requests
jaeger: pip install {toxinidir}/opentelemetry-sdk
jaeger: pip install {toxinidir}/ext/opentelemetry-ext-jaeger
+ opentracing-shim: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/ext/opentelemetry-ext-opentracing-shim
; Using file:// here because otherwise tox invokes just "pip install
; opentelemetry-api", leading to an error
@@ -74,6 +76,7 @@ commands_pre =
pip install -e {toxinidir}/ext/opentelemetry-ext-jaeger
pip install -e {toxinidir}/ext/opentelemetry-ext-wsgi
pip install -e {toxinidir}/examples/opentelemetry-example-app
+ pip install -e {toxinidir}/ext/opentelemetry-ext-opentracing-shim
commands =
; Prefer putting everything in one pylint command to profit from duplication
@@ -90,6 +93,8 @@ commands =
ext/opentelemetry-ext-http-requests/tests/ \
ext/opentelemetry-ext-jaeger/src/opentelemetry \
ext/opentelemetry-ext-jaeger/tests/ \
+ ext/opentelemetry-ext-opentracing-shim/src/ \
+ ext/opentelemetry-ext-opentracing-shim/tests/ \
ext/opentelemetry-ext-wsgi/tests/ \
examples/opentelemetry-example-app/src/opentelemetry_example_app/ \
examples/opentelemetry-example-app/tests/
