From 7bb29bd9ab81baf941a81619baaa77c0fa527f76 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Wed, 2 Mar 2022 17:03:34 -0500 Subject: [PATCH] Fix typos (#929) --- .../opentelemetry-instrumentation-aiohttp-client/setup.py | 4 ++-- .../opentelemetry-instrumentation-aiopg/setup.py | 4 ++-- instrumentation/opentelemetry-instrumentation-asgi/setup.py | 4 ++-- .../opentelemetry-instrumentation-asyncpg/setup.py | 4 ++-- .../opentelemetry-instrumentation-aws-lambda/setup.py | 4 ++-- instrumentation/opentelemetry-instrumentation-boto/setup.py | 4 ++-- .../opentelemetry-instrumentation-botocore/setup.py | 4 ++-- .../opentelemetry-instrumentation-celery/setup.py | 4 ++-- .../opentelemetry-instrumentation-dbapi/setup.py | 4 ++-- .../opentelemetry-instrumentation-django/setup.py | 4 ++-- .../opentelemetry-instrumentation-elasticsearch/setup.py | 4 ++-- .../opentelemetry-instrumentation-falcon/setup.py | 4 ++-- .../opentelemetry-instrumentation-fastapi/setup.py | 4 ++-- .../opentelemetry-instrumentation-flask/setup.py | 4 ++-- instrumentation/opentelemetry-instrumentation-grpc/setup.py | 4 ++-- .../opentelemetry-instrumentation-httpx/setup.py | 4 ++-- .../opentelemetry-instrumentation-jinja2/setup.py | 4 ++-- .../opentelemetry-instrumentation-kafka-python/setup.py | 4 ++-- .../opentelemetry-instrumentation-logging/setup.py | 4 ++-- .../opentelemetry-instrumentation-mysql/setup.py | 4 ++-- instrumentation/opentelemetry-instrumentation-pika/setup.py | 4 ++-- .../opentelemetry-instrumentation-psycopg2/setup.py | 4 ++-- .../opentelemetry-instrumentation-pymemcache/setup.py | 4 ++-- .../opentelemetry-instrumentation-pymongo/setup.py | 4 ++-- .../opentelemetry-instrumentation-pymysql/setup.py | 4 ++-- .../opentelemetry-instrumentation-pyramid/setup.py | 4 ++-- .../opentelemetry-instrumentation-redis/setup.py | 4 ++-- .../opentelemetry-instrumentation-requests/setup.py | 4 ++-- .../opentelemetry-instrumentation-sklearn/setup.py | 4 ++-- .../opentelemetry-instrumentation-sqlalchemy/setup.py | 4 ++-- .../opentelemetry-instrumentation-sqlite3/setup.py | 4 ++-- .../opentelemetry-instrumentation-starlette/setup.py | 4 ++-- .../opentelemetry-instrumentation-tornado/setup.py | 4 ++-- .../src/opentelemetry/instrumentation/tornado/__init__.py | 5 +++-- .../opentelemetry-instrumentation-urllib/setup.py | 4 ++-- .../opentelemetry-instrumentation-urllib3/setup.py | 4 ++-- instrumentation/opentelemetry-instrumentation-wsgi/setup.py | 4 ++-- templates/instrumentation_setup.py.txt | 6 +++--- 38 files changed, 78 insertions(+), 77 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py b/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py index 048e145d6c..a236509153 100644 --- a/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-aiopg/setup.py b/instrumentation/opentelemetry-instrumentation-aiopg/setup.py index 555f005832..f98a9ab362 100644 --- a/instrumentation/opentelemetry-instrumentation-aiopg/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aiopg/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-asgi/setup.py b/instrumentation/opentelemetry-instrumentation-asgi/setup.py index ce79c106ff..e98879da6d 100644 --- a/instrumentation/opentelemetry-instrumentation-asgi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-asgi/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py b/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py index 5e7120c8a7..49b24e5836 100644 --- a/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py +++ b/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py b/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py index d1a8664236..dfcabf0026 100644 --- a/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-boto/setup.py b/instrumentation/opentelemetry-instrumentation-boto/setup.py index 05cab9ce70..929673a1f6 100644 --- a/instrumentation/opentelemetry-instrumentation-boto/setup.py +++ b/instrumentation/opentelemetry-instrumentation-boto/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-botocore/setup.py b/instrumentation/opentelemetry-instrumentation-botocore/setup.py index d99c702829..8b1182f7a8 100644 --- a/instrumentation/opentelemetry-instrumentation-botocore/setup.py +++ b/instrumentation/opentelemetry-instrumentation-botocore/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-celery/setup.py b/instrumentation/opentelemetry-instrumentation-celery/setup.py index 2c8b3507ac..8f029cf718 100644 --- a/instrumentation/opentelemetry-instrumentation-celery/setup.py +++ b/instrumentation/opentelemetry-instrumentation-celery/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-dbapi/setup.py b/instrumentation/opentelemetry-instrumentation-dbapi/setup.py index ff0f57a950..6f0e4f0f0a 100644 --- a/instrumentation/opentelemetry-instrumentation-dbapi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-dbapi/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-django/setup.py b/instrumentation/opentelemetry-instrumentation-django/setup.py index 48e934c354..ddf4c0760a 100644 --- a/instrumentation/opentelemetry-instrumentation-django/setup.py +++ b/instrumentation/opentelemetry-instrumentation-django/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py b/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py index 3a99f38e74..d6ba804a5f 100644 --- a/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py +++ b/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-falcon/setup.py b/instrumentation/opentelemetry-instrumentation-falcon/setup.py index 1079daacc6..b319ce4ca1 100644 --- a/instrumentation/opentelemetry-instrumentation-falcon/setup.py +++ b/instrumentation/opentelemetry-instrumentation-falcon/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-fastapi/setup.py b/instrumentation/opentelemetry-instrumentation-fastapi/setup.py index 48a804bb27..6e4a2fa867 100644 --- a/instrumentation/opentelemetry-instrumentation-fastapi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-fastapi/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-flask/setup.py b/instrumentation/opentelemetry-instrumentation-flask/setup.py index a484fca705..8a12e07e31 100644 --- a/instrumentation/opentelemetry-instrumentation-flask/setup.py +++ b/instrumentation/opentelemetry-instrumentation-flask/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-grpc/setup.py b/instrumentation/opentelemetry-instrumentation-grpc/setup.py index a6fb80cbdf..0a145c9c8e 100644 --- a/instrumentation/opentelemetry-instrumentation-grpc/setup.py +++ b/instrumentation/opentelemetry-instrumentation-grpc/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-httpx/setup.py b/instrumentation/opentelemetry-instrumentation-httpx/setup.py index 8287bf52e9..b413dffc3c 100644 --- a/instrumentation/opentelemetry-instrumentation-httpx/setup.py +++ b/instrumentation/opentelemetry-instrumentation-httpx/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-jinja2/setup.py b/instrumentation/opentelemetry-instrumentation-jinja2/setup.py index 0359c1f5bf..dabdc041db 100644 --- a/instrumentation/opentelemetry-instrumentation-jinja2/setup.py +++ b/instrumentation/opentelemetry-instrumentation-jinja2/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py b/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py index 4d6bbbabb4..083b4ec4b9 100644 --- a/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py +++ b/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-logging/setup.py b/instrumentation/opentelemetry-instrumentation-logging/setup.py index 8b419ca346..115450aa09 100644 --- a/instrumentation/opentelemetry-instrumentation-logging/setup.py +++ b/instrumentation/opentelemetry-instrumentation-logging/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-mysql/setup.py b/instrumentation/opentelemetry-instrumentation-mysql/setup.py index af6fd555ea..93ca542f9e 100644 --- a/instrumentation/opentelemetry-instrumentation-mysql/setup.py +++ b/instrumentation/opentelemetry-instrumentation-mysql/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-pika/setup.py b/instrumentation/opentelemetry-instrumentation-pika/setup.py index ac600392c1..1930f07ca9 100644 --- a/instrumentation/opentelemetry-instrumentation-pika/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pika/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py b/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py index 9bd056fc02..d6819d5639 100644 --- a/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py +++ b/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py b/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py index 274046dc8c..105c59e9e5 100644 --- a/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-pymongo/setup.py b/instrumentation/opentelemetry-instrumentation-pymongo/setup.py index 9b2f5b2893..d4da27261a 100644 --- a/instrumentation/opentelemetry-instrumentation-pymongo/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymongo/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-pymysql/setup.py b/instrumentation/opentelemetry-instrumentation-pymysql/setup.py index 6c7c8a43b4..3e38522e11 100644 --- a/instrumentation/opentelemetry-instrumentation-pymysql/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymysql/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-pyramid/setup.py b/instrumentation/opentelemetry-instrumentation-pyramid/setup.py index b815ddb4bc..d5770b21d8 100644 --- a/instrumentation/opentelemetry-instrumentation-pyramid/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pyramid/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-redis/setup.py b/instrumentation/opentelemetry-instrumentation-redis/setup.py index b494d81330..5516c76301 100644 --- a/instrumentation/opentelemetry-instrumentation-redis/setup.py +++ b/instrumentation/opentelemetry-instrumentation-redis/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-requests/setup.py b/instrumentation/opentelemetry-instrumentation-requests/setup.py index ecdcadfc96..3fea135761 100644 --- a/instrumentation/opentelemetry-instrumentation-requests/setup.py +++ b/instrumentation/opentelemetry-instrumentation-requests/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-sklearn/setup.py b/instrumentation/opentelemetry-instrumentation-sklearn/setup.py index ec7e2b9578..9fe347fef6 100644 --- a/instrumentation/opentelemetry-instrumentation-sklearn/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sklearn/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py b/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py index 81f2ee899d..867116ac95 100644 --- a/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py b/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py index 15ab6abe39..73c703af79 100644 --- a/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-starlette/setup.py b/instrumentation/opentelemetry-instrumentation-starlette/setup.py index f363ce2047..962386540d 100644 --- a/instrumentation/opentelemetry-instrumentation-starlette/setup.py +++ b/instrumentation/opentelemetry-instrumentation-starlette/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-tornado/setup.py b/instrumentation/opentelemetry-instrumentation-tornado/setup.py index 124943f35b..86ad20db36 100644 --- a/instrumentation/opentelemetry-instrumentation-tornado/setup.py +++ b/instrumentation/opentelemetry-instrumentation-tornado/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py b/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py index ce81c13735..c18c7acb0e 100644 --- a/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py @@ -45,12 +45,13 @@ def get(self): :: - export OTEL_PYTHON_TORNADO_EXLUDED_URLS='/healthz,/ping' + export OTEL_PYTHON_TORNADO_EXCLUDED_URLS='/healthz,/ping' Then any requests made to ``/healthz`` and ``/ping`` will not be automatically traced. Request attributes -******************** +****************** + To extract certain attributes from Tornado's request object and use them as span attributes, set the environment variable ``OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS`` to a comma delimited list of request attribute names. diff --git a/instrumentation/opentelemetry-instrumentation-urllib/setup.py b/instrumentation/opentelemetry-instrumentation-urllib/setup.py index cb47ef170b..f8ae47aa01 100644 --- a/instrumentation/opentelemetry-instrumentation-urllib/setup.py +++ b/instrumentation/opentelemetry-instrumentation-urllib/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-urllib3/setup.py b/instrumentation/opentelemetry-instrumentation-urllib3/setup.py index 8b3f3f74de..149726533f 100644 --- a/instrumentation/opentelemetry-instrumentation-urllib3/setup.py +++ b/instrumentation/opentelemetry-instrumentation-urllib3/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/instrumentation/opentelemetry-instrumentation-wsgi/setup.py b/instrumentation/opentelemetry-instrumentation-wsgi/setup.py index d0b5f351fa..91fed6a279 100644 --- a/instrumentation/opentelemetry-instrumentation-wsgi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-wsgi/setup.py @@ -28,8 +28,8 @@ config.read("setup.cfg") # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if "options.extras_require" in config: for key, value in config["options.extras_require"].items(): diff --git a/templates/instrumentation_setup.py.txt b/templates/instrumentation_setup.py.txt index f19238bef2..80d588e0ff 100644 --- a/templates/instrumentation_setup.py.txt +++ b/templates/instrumentation_setup.py.txt @@ -27,8 +27,8 @@ config = ConfigParser() config.read('setup.cfg') # We provide extras_require parameter to setuptools.setup later which -# overwrites the extra_require section from setup.cfg. To support extra_require -# secion in setup.cfg, we load it here and merge it with the extra_require param. +# overwrites the extras_require section from setup.cfg. To support extras_require +# section in setup.cfg, we load it here and merge it with the extras_require param. extras_require = {} if 'options.extras_require' in config: for key, value in config['options.extras_require'].items(): @@ -84,4 +84,4 @@ setuptools.setup( cmdclass={'meta': JSONMetadataCommand}, version=PACKAGE_INFO["__version__"], extras_require=extras_require -) \ No newline at end of file +)