Releases: open-telemetry/opentelemetry-python-contrib
Releases · open-telemetry/opentelemetry-python-contrib
Version 1.32.1/0.53b1
This is a patch release on the previous 1.32.0/0.53b0 release, fixing the issue(s) below.
Fixed
opentelemetry-instrumentationCatchModuleNotFoundErrorwhen the library is not installed and log as debug instead of exception (#3425)
Version 1.32.0/0.53b0
Added
opentelemetry-instrumentation-asyncclick: new instrumentation to trace asyncclick commands (#3319)opentelemetry-instrumentation-botocoreAdd support for GenAI tool events using Amazon Nova models andInvokeModel*APIs (#3385)opentelemetry-instrumentationMake auto instrumentation use the same dependency resolver as manual instrumentation does (#3202)
Fixed
opentelemetry-instrumentationFix client address is set to server address in new semconv (#3354)opentelemetry-instrumentation-dbapi,opentelemetry-instrumentation-django,opentelemetry-instrumentation-sqlalchemy: Fix sqlcomment for non string query and composable object. (#3113)opentelemetry-instrumentation-grpcFix error when using gprc versions <= 1.50.0 with unix sockets. ([#3393])opentelemetry-instrumentation-aiokafkaFix send_and_wait method no headers kwargs error. ([#3332])
Version 1.31.1/0.52b1
This is a patch release on the previous 1.31.0/0.52b0 release, fixing the issue(s) below.
Version 1.31.0/0.52b0
Added
opentelemetry-instrumentation-openai-v2Update doc for OpenAI Instrumentation to support OpenAI Compatible Platforms (#3279)opentelemetry-instrumentation-system-metricsAddprocessmetrics and deprecatedprocess.runtimeprefixed ones (#3250)opentelemetry-instrumentation-botocoreAdd support for GenAI user events and lazy initialize tracer (#3258)opentelemetry-instrumentation-botocoreAdd support for GenAI system events (#3266)opentelemetry-instrumentation-botocoreAdd support for GenAI choice events (#3275)opentelemetry-instrumentation-botocoreAdd support for GenAI tool events (#3302)opentelemetry-instrumentation-botocoreAdd support for GenAI metrics (#3326)opentelemetry-instrumentationmake it simpler to initialize auto-instrumentation programmatically (#3273)- Add
opentelemetry-instrumentation-vertexai>=2.0b0toopentelemetry-bootstrap(#3307) - Loosen
opentelemetry-instrumentation-starlette[instruments]specifier (#3304)
Fixed
opentelemetry-instrumentation-redisAdd missing entry in doc string fordef _instrument(#3247)opentelemetry-instrumentation-botocoresns-extension: Change destination name attribute to match topic ARN and redact phone number from attributes (#3249)opentelemetry-instrumentation-asyncpgFix fallback for empty queries. (#3253)opentelemetry-instrumentation-threadingFix broken context typehints (#3322)opentelemetry-instrumentation-requestsalways record span status code in duration metric (#3323)
opentelemetry-instrumentation-google-genai 0.1b0
opentelemetry-instrumentation-vertexai 2.0b0
- Added Vertex AI spans for request parameters (#3192)
- Initial VertexAI instrumentation (#3123)
- Add server attributes to Vertex AI spans (#3208)
- VertexAI emit user, system, and assistant events (#3203)
- Add Vertex gen AI response attributes and
gen_ai.choiceevents (#3227) - VertexAI stop serializing unset fields into event (#3236)
- Vertex capture tool requests and responses (#3255)
Version 1.30.0/0.51b0
Added
opentelemetry-instrumentation-confluent-kafkaAdd support for confluent-kafka <=2.7.0 (#3100)- Add support to database stability opt-in in
_semconvutilities and add tests (#3111) opentelemetry-instrumentation-urllibAddpy.typedfile to enable PEP 561 (#3131)opentelemetry-opentelemetry-pymongoAddpy.typedfile to enable PEP 561 (#3136)opentelemetry-opentelemetry-requestsAddpy.typedfile to enable PEP 561 (#3135)opentelemetry-instrumentation-system-metricsAddpy.typedfile to enable PEP 561 (#3132)opentelemetry-opentelemetry-sqlite3Addpy.typedfile to enable PEP 561 (#3133)opentelemetry-instrumentation-falconadd support version to v4 (#3086)opentelemetry-instrumentation-falconImplement new HTTP semantic convention opt-in for Falcon (#2790)opentelemetry-instrumentation-wsgialways record span status code to have it available in metrics (#3148)- add support to Python 3.13 (#3134)
opentelemetry-opentelemetry-wsgiAddpy.typedfile to enable PEP 561 (#3129)opentelemetry-util-httpAddpy.typedfile to enable PEP 561 (#3127)opentelemetry-instrumentation-psycopg2Add support for psycopg2-binary (#3186)opentelemetry-opentelemetry-botocoreAdd basic support for GenAI attributes for AWS Bedrock Converse API (#3161)opentelemetry-opentelemetry-botocoreAdd basic support for GenAI attributes for AWS Bedrock InvokeModel API (#3200)opentelemetry-opentelemetry-botocoreAdd basic support for GenAI attributes for AWS Bedrock ConverseStream API (#3204)opentelemetry-opentelemetry-botocoreAdd basic support for GenAI attributes for AWS Bedrock InvokeModelWithStreamResponse API (#3206)opentelemetry-instrumentation-pymssqlAdd pymssql instrumentation (#394)opentelemetry-instrumentation-mysqlAdd sqlcommenter support (#3163)
Fixed
opentelemetry-instrumentation-httpxFixRequestInfo/ResponseInfotype hints (#3105)opentelemetry-instrumentation-dbapiMoveTracedCursorProxyandTracedConnectionProxyto the module level (#3068)opentelemetry-instrumentation-clickDisable tracing of well-known server click commands (#3174)opentelemetry-instrumentationFixget_dist_dependency_conflictsif no distribution requires (#3168)
Breaking changes
opentelemetry-instrumentation-sqlalchemyincluding sqlcomment indb.statementspan attribute value is now opt-in (#3112)opentelemetry-instrumentation-dbapiincluding sqlcomment indb.statementspan attribute value is now opt-in (#3115)opentelemetry-instrumentation-psycopg2,opentelemetry-instrumentation-psycopg,opentelemetry-instrumentation-mysqlclient,opentelemetry-instrumentation-pymysql: including sqlcomment indb.statementspan attribute value is now opt-in (#3121)
opentelemetry-instrumentation-openai-v2 2.1b0
opentelemetry-sdk-extension-aws 2.1.0
Version 1.29.0/0.50b0
Added
opentelemetry-instrumentation-starletteAdd type hints to the instrumentation (#3045)opentelemetry-distrodefault to OTLP log exporter. (#3042)opentelemetry-instrumentation-sqlalchemyUpdate unit tests to run with SQLALchemy 2 (#2976)- Add
opentelemetry-instrumentation-openai-v2toopentelemetry-bootstrap(#2996) opentelemetry-instrumentation-sqlalchemyAdd sqlcomment todb.statementattribute (#2937)opentelemetry-instrumentation-dbapiAdd sqlcomment todb.statementattribute (#2935)opentelemetry-instrumentation-dbapiinstrument_connection accepts optional connect_module (#3027)opentelemetry-instrumentation-mysqlclientAdd sqlcommenter support (#2941)opentelemetry-instrumentation-pymysqlAdd sqlcommenter support (#2942)opentelemetry-instrumentation-click: new instrumentation to trace click commands (#2994)
Fixed
opentelemetry-instrumentation-starlette: Retrievemeter_providerkey instead of_meter_provideron_instrument(#3048)opentelemetry-instrumentation-httpx: instrument_client is a static method again (#3003)opentelemetry-instrumentation-system_metrics: fix callbacks reading wrong config (#3025)opentelemetry-instrumentation-httpx: Check if mount transport is none before wrap it (#3022)- Replace all instrumentor unit test
assertEqualSpanInstrumentationInfocalls withassertEqualSpanInstrumentationScopecalls (#3037) opentelemetry-instrumentation-sqlalchemyFixes engines fromsqlalchemy.engine_from_confignot being fully instrumented (#2816)opentelemetry-instrumentation-sqlalchemy: Fix a remaining memory leak in EngineTracer (#3053)opentelemetry-instrumentation-sqlite3: Update documentation on explicit cursor support of tracing (#3088)