diff --git a/setup.py b/setup.py index d0386554..1c91a141 100644 --- a/setup.py +++ b/setup.py @@ -17,26 +17,26 @@ "autowrapt>=1.0", "wrapt>=1.11.0", "lumigo_core==0.0.10", - "opentelemetry-api==1.25.0", - "opentelemetry-sdk==1.25.0", + "opentelemetry-api==1.26.0", + "opentelemetry-sdk==1.26.0", "opentelemetry-sdk-extension-aws==2.0.2", - "opentelemetry-exporter-otlp-proto-http==1.25.0", - "opentelemetry-semantic-conventions==0.46b0", - "opentelemetry-instrumentation==0.46b0", - "opentelemetry-instrumentation-asgi==0.46b0", - "opentelemetry-instrumentation-boto==0.46b0", - "opentelemetry-instrumentation-fastapi==0.46b0", - "opentelemetry-instrumentation-flask==0.46b0", - "opentelemetry-instrumentation-grpc==0.46b0", - "opentelemetry-instrumentation-kafka-python==0.46b0", - "opentelemetry-instrumentation-pika==0.46b0", - "opentelemetry-instrumentation-psycopg2==0.46b0", - "opentelemetry-instrumentation-pymongo==0.46b0", - "opentelemetry-instrumentation-pymysql==0.46b0", - "opentelemetry-instrumentation-requests==0.46b0", - "opentelemetry-instrumentation-redis==0.46b0", - "opentelemetry-instrumentation-django==0.46b0", - "opentelemetry-instrumentation-logging==0.46b0", + "opentelemetry-exporter-otlp-proto-http==1.26.0", + "opentelemetry-semantic-conventions==0.47b0", + "opentelemetry-instrumentation==0.47b0", + "opentelemetry-instrumentation-asgi==0.47b0", + "opentelemetry-instrumentation-boto==0.47b0", + "opentelemetry-instrumentation-fastapi==0.47b0", + "opentelemetry-instrumentation-flask==0.47b0", + "opentelemetry-instrumentation-grpc==0.47b0", + "opentelemetry-instrumentation-kafka-python==0.47b0", + "opentelemetry-instrumentation-pika==0.47b0", + "opentelemetry-instrumentation-psycopg2==0.47b0", + "opentelemetry-instrumentation-pymongo==0.47b0", + "opentelemetry-instrumentation-pymysql==0.47b0", + "opentelemetry-instrumentation-requests==0.47b0", + "opentelemetry-instrumentation-redis==0.47b0", + "opentelemetry-instrumentation-django==0.47b0", + "opentelemetry-instrumentation-logging==0.47b0", # v4.7.1 is the last version that supports python 3.7 "typing_extensions==4.7.1; python_version<'3.8'", # v6.7.0 is the last version that supports python 3.7 diff --git a/src/lumigo_opentelemetry/instrumentations/fastapi/parsers/__init__.py b/src/lumigo_opentelemetry/instrumentations/fastapi/parsers/__init__.py index a3876ef4..c8a52b15 100644 --- a/src/lumigo_opentelemetry/instrumentations/fastapi/parsers/__init__.py +++ b/src/lumigo_opentelemetry/instrumentations/fastapi/parsers/__init__.py @@ -51,7 +51,9 @@ async def new_otel_receive(): # type: ignore return new_otel_receive @staticmethod - def client_response_hook(span: Span, message: Dict[str, Any]) -> None: + def client_response_hook( + span: Span, scope: Dict[str, Any], message: Dict[str, Any] + ) -> None: with lumigo_safe_execute("FastAPIParser: client_response_hook"): body = safe_convert_bytes_to_string(message.get("body")) if body: