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 048e145d6..a23650915 100644 --- a/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-aiopg/setup.py b/instrumentation/opentelemetry-instrumentation-aiopg/setup.py index 555f00583..f98a9ab36 100644 --- a/instrumentation/opentelemetry-instrumentation-aiopg/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aiopg/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-asgi/setup.py b/instrumentation/opentelemetry-instrumentation-asgi/setup.py index ce79c106f..e98879da6 100644 --- a/instrumentation/opentelemetry-instrumentation-asgi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-asgi/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py b/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py index 5e7120c8a..49b24e583 100644 --- a/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py +++ b/instrumentation/opentelemetry-instrumentation-asyncpg/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py b/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py index d1a866423..dfcabf002 100644 --- a/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py +++ b/instrumentation/opentelemetry-instrumentation-aws-lambda/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-boto/setup.py b/instrumentation/opentelemetry-instrumentation-boto/setup.py index 05cab9ce7..929673a1f 100644 --- a/instrumentation/opentelemetry-instrumentation-boto/setup.py +++ b/instrumentation/opentelemetry-instrumentation-boto/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-botocore/setup.py b/instrumentation/opentelemetry-instrumentation-botocore/setup.py index d99c70282..8b1182f7a 100644 --- a/instrumentation/opentelemetry-instrumentation-botocore/setup.py +++ b/instrumentation/opentelemetry-instrumentation-botocore/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-celery/setup.py b/instrumentation/opentelemetry-instrumentation-celery/setup.py index 2c8b3507a..8f029cf71 100644 --- a/instrumentation/opentelemetry-instrumentation-celery/setup.py +++ b/instrumentation/opentelemetry-instrumentation-celery/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-dbapi/setup.py b/instrumentation/opentelemetry-instrumentation-dbapi/setup.py index ff0f57a95..6f0e4f0f0 100644 --- a/instrumentation/opentelemetry-instrumentation-dbapi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-dbapi/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-django/setup.py b/instrumentation/opentelemetry-instrumentation-django/setup.py index 48e934c35..ddf4c0760 100644 --- a/instrumentation/opentelemetry-instrumentation-django/setup.py +++ b/instrumentation/opentelemetry-instrumentation-django/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py b/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py index 3a99f38e7..d6ba804a5 100644 --- a/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py +++ b/instrumentation/opentelemetry-instrumentation-elasticsearch/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-falcon/setup.py b/instrumentation/opentelemetry-instrumentation-falcon/setup.py index 1079daacc..b319ce4ca 100644 --- a/instrumentation/opentelemetry-instrumentation-falcon/setup.py +++ b/instrumentation/opentelemetry-instrumentation-falcon/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-fastapi/setup.py b/instrumentation/opentelemetry-instrumentation-fastapi/setup.py index 48a804bb2..6e4a2fa86 100644 --- a/instrumentation/opentelemetry-instrumentation-fastapi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-fastapi/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-flask/setup.py b/instrumentation/opentelemetry-instrumentation-flask/setup.py index a484fca70..8a12e07e3 100644 --- a/instrumentation/opentelemetry-instrumentation-flask/setup.py +++ b/instrumentation/opentelemetry-instrumentation-flask/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-grpc/setup.py b/instrumentation/opentelemetry-instrumentation-grpc/setup.py index a6fb80cbd..0a145c9c8 100644 --- a/instrumentation/opentelemetry-instrumentation-grpc/setup.py +++ b/instrumentation/opentelemetry-instrumentation-grpc/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-httpx/setup.py b/instrumentation/opentelemetry-instrumentation-httpx/setup.py index 8287bf52e..b413dffc3 100644 --- a/instrumentation/opentelemetry-instrumentation-httpx/setup.py +++ b/instrumentation/opentelemetry-instrumentation-httpx/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-jinja2/setup.py b/instrumentation/opentelemetry-instrumentation-jinja2/setup.py index 0359c1f5b..dabdc041d 100644 --- a/instrumentation/opentelemetry-instrumentation-jinja2/setup.py +++ b/instrumentation/opentelemetry-instrumentation-jinja2/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py b/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py index 4d6bbbabb..083b4ec4b 100644 --- a/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py +++ b/instrumentation/opentelemetry-instrumentation-kafka-python/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-logging/setup.py b/instrumentation/opentelemetry-instrumentation-logging/setup.py index 8b419ca34..115450aa0 100644 --- a/instrumentation/opentelemetry-instrumentation-logging/setup.py +++ b/instrumentation/opentelemetry-instrumentation-logging/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-mysql/setup.py b/instrumentation/opentelemetry-instrumentation-mysql/setup.py index af6fd555e..93ca542f9 100644 --- a/instrumentation/opentelemetry-instrumentation-mysql/setup.py +++ b/instrumentation/opentelemetry-instrumentation-mysql/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-pika/setup.py b/instrumentation/opentelemetry-instrumentation-pika/setup.py index ac600392c..1930f07ca 100644 --- a/instrumentation/opentelemetry-instrumentation-pika/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pika/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py b/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py index 9bd056fc0..d6819d563 100644 --- a/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py +++ b/instrumentation/opentelemetry-instrumentation-psycopg2/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py b/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py index 274046dc8..105c59e9e 100644 --- a/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymemcache/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-pymongo/setup.py b/instrumentation/opentelemetry-instrumentation-pymongo/setup.py index 9b2f5b289..d4da27261 100644 --- a/instrumentation/opentelemetry-instrumentation-pymongo/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymongo/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-pymysql/setup.py b/instrumentation/opentelemetry-instrumentation-pymysql/setup.py index 6c7c8a43b..3e38522e1 100644 --- a/instrumentation/opentelemetry-instrumentation-pymysql/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pymysql/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-pyramid/setup.py b/instrumentation/opentelemetry-instrumentation-pyramid/setup.py index b815ddb4b..d5770b21d 100644 --- a/instrumentation/opentelemetry-instrumentation-pyramid/setup.py +++ b/instrumentation/opentelemetry-instrumentation-pyramid/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-redis/setup.py b/instrumentation/opentelemetry-instrumentation-redis/setup.py index b494d8133..5516c7630 100644 --- a/instrumentation/opentelemetry-instrumentation-redis/setup.py +++ b/instrumentation/opentelemetry-instrumentation-redis/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-requests/setup.py b/instrumentation/opentelemetry-instrumentation-requests/setup.py index ecdcadfc9..3fea13576 100644 --- a/instrumentation/opentelemetry-instrumentation-requests/setup.py +++ b/instrumentation/opentelemetry-instrumentation-requests/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-sklearn/setup.py b/instrumentation/opentelemetry-instrumentation-sklearn/setup.py index ec7e2b957..9fe347fef 100644 --- a/instrumentation/opentelemetry-instrumentation-sklearn/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sklearn/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py b/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py index 81f2ee899..867116ac9 100644 --- a/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py b/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py index 15ab6abe3..73c703af7 100644 --- a/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py +++ b/instrumentation/opentelemetry-instrumentation-sqlite3/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-starlette/setup.py b/instrumentation/opentelemetry-instrumentation-starlette/setup.py index f363ce204..962386540 100644 --- a/instrumentation/opentelemetry-instrumentation-starlette/setup.py +++ b/instrumentation/opentelemetry-instrumentation-starlette/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-tornado/setup.py b/instrumentation/opentelemetry-instrumentation-tornado/setup.py index 124943f35..86ad20db3 100644 --- a/instrumentation/opentelemetry-instrumentation-tornado/setup.py +++ b/instrumentation/opentelemetry-instrumentation-tornado/setup.py @@ -28,8 +28,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(): 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 ce81c1373..c18c7acb0 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 @@ A comma separated list of paths that should not be automatically traced. For exa :: - 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 cb47ef170..f8ae47aa0 100644 --- a/instrumentation/opentelemetry-instrumentation-urllib/setup.py +++ b/instrumentation/opentelemetry-instrumentation-urllib/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-urllib3/setup.py b/instrumentation/opentelemetry-instrumentation-urllib3/setup.py index 8b3f3f74d..149726533 100644 --- a/instrumentation/opentelemetry-instrumentation-urllib3/setup.py +++ b/instrumentation/opentelemetry-instrumentation-urllib3/setup.py @@ -28,8 +28,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(): diff --git a/instrumentation/opentelemetry-instrumentation-wsgi/setup.py b/instrumentation/opentelemetry-instrumentation-wsgi/setup.py index d0b5f351f..91fed6a27 100644 --- a/instrumentation/opentelemetry-instrumentation-wsgi/setup.py +++ b/instrumentation/opentelemetry-instrumentation-wsgi/setup.py @@ -28,8 +28,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(): diff --git a/templates/instrumentation_setup.py.txt b/templates/instrumentation_setup.py.txt index f19238bef..80d588e0f 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 +)