Skip to content

Commit 264042e

Browse files
committed
fix long line flake8 check fail
1 parent 0581402 commit 264042e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_distro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def _configure(self, **kwargs):
107107
# Set disabled instrumentations default
108108
os.environ.setdefault(
109109
OTEL_PYTHON_DISABLED_INSTRUMENTATIONS,
110-
"http,sqlalchemy,psycopg2,pymysql,sqlite3,aiopg,asyncpg,mysql_connector,botocore,boto3,urllib3,requests,starlette",
110+
"http,sqlalchemy,psycopg2,pymysql,sqlite3,aiopg,asyncpg,mysql_connector,"
111+
"botocore,boto3,urllib3,requests,starlette",
111112
)
112113

113114
# Set logging auto instrumentation default

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelemetry_distro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ def test_agent_observability_sets_new_defaults(self):
5454
self.assertEqual(os.environ.get("OTEL_TRACES_SAMPLER"), "parentbased_always_on")
5555
self.assertEqual(
5656
os.environ.get("OTEL_PYTHON_DISABLED_INSTRUMENTATIONS"),
57-
"http,sqlalchemy,psycopg2,pymysql,sqlite3,aiopg,asyncpg,mysql_connector,botocore,boto3,urllib3,requests,starlette",
57+
"http,sqlalchemy,psycopg2,pymysql,sqlite3,aiopg,asyncpg,mysql_connector,"
58+
"botocore,boto3,urllib3,requests,starlette",
5859
)
5960
self.assertEqual(os.environ.get("OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED"), "true")
6061
self.assertEqual(os.environ.get("OTEL_AWS_APPLICATION_SIGNALS_ENABLED"), "false")

0 commit comments

Comments
 (0)