From 8d7ede404d3b0f73dd7bb571aacad8a7f47f4bf2 Mon Sep 17 00:00:00 2001 From: liustve Date: Fri, 20 Dec 2024 18:58:55 +0000 Subject: [PATCH] enable http instrumentations for lambda --- lambda-layer/src/otel-instrument | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda-layer/src/otel-instrument b/lambda-layer/src/otel-instrument index 402d95d8d..a68d05e63 100755 --- a/lambda-layer/src/otel-instrument +++ b/lambda-layer/src/otel-instrument @@ -126,7 +126,7 @@ fi # - Enable botocore instrumentation by default if [ -z ${OTEL_PYTHON_DISABLED_INSTRUMENTATIONS} ]; then - export OTEL_PYTHON_DISABLED_INSTRUMENTATIONS="aio-pika,aiohttp-client,aiohttp-server,aiopg,asgi,asyncio,asyncpg,boto,boto3,cassandra,celery,confluent_kafka,dbapi,django,elasticsearch,falcon,fastapi,flask,grpc_client,grpc_server,grpc_aio_client,grpc_aio_server,httpx,jinja2,kafka,logging,mysql,mysqlclient,pika,psycopg,psycopg2,pymemcache,pymongo,pymysql,pyramid,redis,remoulade,requests,sklearn,sqlalchemy,sqlite3,starlette,system_metrics,threading,tornado,tortoiseorm,urllib,urllib3,wsgi" + export OTEL_PYTHON_DISABLED_INSTRUMENTATIONS="aio-pika,aiohttp-server,aiopg,asgi,asyncio,asyncpg,boto,boto3,cassandra,celery,confluent_kafka,dbapi,django,elasticsearch,falcon,fastapi,flask,grpc_client,grpc_server,grpc_aio_client,grpc_aio_server,jinja2,kafka,logging,mysql,mysqlclient,pika,psycopg,psycopg2,pymemcache,pymongo,pymysql,pyramid,redis,remoulade,requests,sklearn,sqlalchemy,sqlite3,starlette,system_metrics,threading,tornado,tortoiseorm,wsgi" fi export OTEL_PYTHON_DISABLED_INSTRUMENTATIONS="$OTEL_PYTHON_DISABLED_INSTRUMENTATIONS,aws-lambda";