diff --git a/docs/index.rst b/docs/index.rst index 2d26e24f839..b25efa8acc6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -68,7 +68,7 @@ install api/api sdk/sdk - auto_instrumentation/auto_instrumentation + instrumentation/instrumentation .. toctree:: :maxdepth: 2 diff --git a/docs/auto_instrumentation/auto_instrumentation.rst b/docs/instrumentation/instrumentation.rst similarity index 68% rename from docs/auto_instrumentation/auto_instrumentation.rst rename to docs/instrumentation/instrumentation.rst index 908c091abe3..bcb85043f4a 100644 --- a/docs/auto_instrumentation/auto_instrumentation.rst +++ b/docs/instrumentation/instrumentation.rst @@ -1,5 +1,5 @@ -OpenTelemetry Python Autoinstrumentation -======================================== +OpenTelemetry Python Instrumentation +==================================== .. automodule:: opentelemetry.instrumentation :members: diff --git a/docs/auto_instrumentation/instrumentor.rst b/docs/instrumentation/instrumentor.rst similarity index 75% rename from docs/auto_instrumentation/instrumentor.rst rename to docs/instrumentation/instrumentor.rst index 61ef9be4080..5c0c010ff6c 100644 --- a/docs/auto_instrumentation/instrumentor.rst +++ b/docs/instrumentation/instrumentor.rst @@ -1,5 +1,5 @@ opentelemetry.instrumentation.instrumentor package -======================================================= +================================================== .. automodule:: opentelemetry.instrumentation.instrumentor :members: diff --git a/opentelemetry-instrumentation/setup.cfg b/opentelemetry-instrumentation/setup.cfg index 2ba3a9bbfda..119beeec113 100644 --- a/opentelemetry-instrumentation/setup.cfg +++ b/opentelemetry-instrumentation/setup.cfg @@ -41,7 +41,9 @@ package_dir= packages=find_namespace: zip_safe = False include_package_data = True -install_requires = opentelemetry-api == 0.9.dev0 +install_requires = + opentelemetry-api == 0.9.dev0 + wrapt >= 1.0.0, < 2.0.0 [options.packages.find] where = src diff --git a/tox.ini b/tox.ini index 0371d341ccf..c668dd74c94 100644 --- a/tox.ini +++ b/tox.ini @@ -182,11 +182,11 @@ commands_pre = ; cases but it saves a lot of boilerplate in this file. test: pip install {toxinidir}/opentelemetry-api {toxinidir}/opentelemetry-sdk {toxinidir}/tests/util - ext: pip install {toxinidir}/opentelemetry-instrumentation + ext,instrumentation: pip install {toxinidir}/opentelemetry-instrumentation - example-app: {toxinidir}/ext/opentelemetry-ext-requests {toxinidir}/ext/opentelemetry-ext-wsgi {toxinidir}/ext/opentelemetry-ext-flask {toxinidir}/docs/examples/opentelemetry-example-app + example-app: pip install {toxinidir}/opentelemetry-instrumentation {toxinidir}/ext/opentelemetry-ext-requests {toxinidir}/ext/opentelemetry-ext-wsgi {toxinidir}/ext/opentelemetry-ext-flask {toxinidir}/docs/examples/opentelemetry-example-app - getting-started: pip install -e {toxinidir}/ext/opentelemetry-ext-requests -e {toxinidir}/ext/opentelemetry-ext-wsgi -e {toxinidir}/ext/opentelemetry-ext-flask + getting-started: pip install -e {toxinidir}/opentelemetry-instrumentation -e {toxinidir}/ext/opentelemetry-ext-requests -e {toxinidir}/ext/opentelemetry-ext-wsgi -e {toxinidir}/ext/opentelemetry-ext-flask grpc: pip install {toxinidir}/ext/opentelemetry-ext-grpc[test]