Added instrumentation for Tornado 6 and above (#1018)

This commit adds auto-instrumentation for Tornado 6 and above on Python
versions 3.5 and above.
This commit is contained in:
Owais Lone 2020-09-17 19:49:27 +05:30 committed by GitHub
parent 96c91e16f4
commit 997900a003
1 changed files with 8 additions and 0 deletions

View File

@ -169,6 +169,11 @@ envlist =
; instrumentation-system-metrics intentionally excluded from pypy3
; known limitation: gc.get_count won't work under pypy
; opentelemetry-instrumentation-tornado
; instrumentation supports >=6 on Py 3.5 and above.
py3{5,6,7,8}-test-instrumentation-tornado
pypy3-test-instrumentation-tornado
lint
py38-tracecontext
py38-{mypy,mypyinstalled}
@ -229,6 +234,7 @@ changedir =
test-instrumentation-sqlite3: instrumentation/opentelemetry-instrumentation-sqlite3/tests
test-instrumentation-starlette: instrumentation/opentelemetry-instrumentation-starlette/tests
test-instrumentation-system-metrics: instrumentation/opentelemetry-instrumentation-system-metrics/tests
test-instrumentation-tornado: instrumentation/opentelemetry-instrumentation-tornado/tests
test-instrumentation-wsgi: instrumentation/opentelemetry-instrumentation-wsgi/tests
test-exporter-jaeger: exporter/opentelemetry-exporter-jaeger/tests
@ -303,6 +309,8 @@ commands_pre =
starlette: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette[test]
tornado: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado
jinja2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
aiohttp-client: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client