starlette instrumentation (#777)
adding an initial starlette instrumentation. tox does exact match on fields delimited by a dash. Thus, any instrumentation that includes "instrumentation" in the name would collide with testing of the "opentelemetry-instrumentation" package. Renaming opentelemetry-instrumentation to opentelemetry-instrumentation-base to fix that. Co-authored-by: Leighton Chen <lechen@microsoft.com> Co-authored-by: alrex <aboten@lightstep.com>
This commit is contained in:
parent
14289122c2
commit
244e709bf0
21
tox.ini
21
tox.ini
|
|
@ -17,8 +17,8 @@ envlist =
|
|||
pypy3-test-sdk
|
||||
|
||||
; opentelemetry-instrumentation
|
||||
py3{5,6,7,8}-test-instrumentation
|
||||
pypy3-test-instrumentation
|
||||
py3{5,6,7,8}-test-instrumentation-base
|
||||
pypy3-test-instrumentation-base
|
||||
|
||||
; opentelemetry-example-app
|
||||
py3{4,5,6,7,8}-test-example-app
|
||||
|
|
@ -56,6 +56,11 @@ envlist =
|
|||
py3{4,5,6,7,8}-test-ext-requests
|
||||
pypy3-test-ext-requests
|
||||
|
||||
; opentelemetry-instrumentation-starlette.
|
||||
; starlette only supports 3.6 and above.
|
||||
py3{6,7,8}-test-instrumentation-starlette
|
||||
pypy3-test-instrumentation-starlette
|
||||
|
||||
; opentelemetry-ext-jinja2
|
||||
py3{4,5,6,7,8}-test-ext-jinja2
|
||||
pypy3-test-ext-jinja2
|
||||
|
|
@ -172,8 +177,9 @@ setenv =
|
|||
changedir =
|
||||
test-api: opentelemetry-api/tests
|
||||
test-sdk: opentelemetry-sdk/tests
|
||||
instrumentation-base: opentelemetry-instrumentation/tests
|
||||
test-instrumentation-starlette: ext/opentelemetry-instrumentation-starlette/tests
|
||||
test-proto: opentelemetry-proto/tests
|
||||
test-instrumentation: opentelemetry-instrumentation/tests
|
||||
test-ext-grpc: ext/opentelemetry-ext-grpc/tests
|
||||
test-ext-aiohttp-client: ext/opentelemetry-ext-aiohttp-client/tests
|
||||
test-ext-requests: ext/opentelemetry-ext-requests/tests
|
||||
|
|
@ -223,10 +229,9 @@ commands_pre =
|
|||
|
||||
grpc: pip install {toxinidir}/ext/opentelemetry-ext-grpc[test]
|
||||
|
||||
wsgi,flask,django,asgi,pyramid: pip install {toxinidir}/tests/util
|
||||
wsgi,flask,django,asgi,pyramid,starlette: pip install {toxinidir}/tests/util
|
||||
wsgi,flask,django,pyramid: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
|
||||
|
||||
asgi: pip install {toxinidir}/ext/opentelemetry-ext-asgi
|
||||
asgi,starlette: pip install {toxinidir}/ext/opentelemetry-ext-asgi
|
||||
|
||||
boto: pip install {toxinidir}/ext/opentelemetry-ext-boto[test]
|
||||
|
||||
|
|
@ -264,6 +269,8 @@ commands_pre =
|
|||
|
||||
requests: pip install {toxinidir}/ext/opentelemetry-ext-requests[test]
|
||||
|
||||
starlette: pip install {toxinidir}/ext/opentelemetry-instrumentation-starlette[test]
|
||||
|
||||
jinja2: pip install {toxinidir}/ext/opentelemetry-ext-jinja2[test]
|
||||
|
||||
aiohttp-client: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/ext/opentelemetry-ext-aiohttp-client
|
||||
|
|
@ -322,7 +329,7 @@ deps =
|
|||
httpretty
|
||||
|
||||
commands_pre =
|
||||
python scripts/eachdist.py install --editable
|
||||
python scripts/eachdist.py install --editable --with-test-deps
|
||||
|
||||
commands =
|
||||
python scripts/eachdist.py lint --check-only
|
||||
|
|
|
|||
Loading…
Reference in New Issue