Releases: open-telemetry/opentelemetry-python-contrib
Releases · open-telemetry/opentelemetry-python-contrib
Version 1.30.0/0.51b0
Added
opentelemetry-instrumentation-confluent-kafka
Add support for confluent-kafka <=2.7.0 (#3100)- Add support to database stability opt-in in
_semconv
utilities and add tests (#3111) opentelemetry-instrumentation-urllib
Addpy.typed
file to enable PEP 561 (#3131)opentelemetry-opentelemetry-pymongo
Addpy.typed
file to enable PEP 561 (#3136)opentelemetry-opentelemetry-requests
Addpy.typed
file to enable PEP 561 (#3135)opentelemetry-instrumentation-system-metrics
Addpy.typed
file to enable PEP 561 (#3132)opentelemetry-opentelemetry-sqlite3
Addpy.typed
file to enable PEP 561 (#3133)opentelemetry-instrumentation-falcon
add support version to v4 (#3086)opentelemetry-instrumentation-falcon
Implement new HTTP semantic convention opt-in for Falcon (#2790)opentelemetry-instrumentation-wsgi
always record span status code to have it available in metrics (#3148)- add support to Python 3.13 (#3134)
opentelemetry-opentelemetry-wsgi
Addpy.typed
file to enable PEP 561 (#3129)opentelemetry-util-http
Addpy.typed
file to enable PEP 561 (#3127)opentelemetry-instrumentation-psycopg2
Add support for psycopg2-binary (#3186)opentelemetry-opentelemetry-botocore
Add basic support for GenAI attributes for AWS Bedrock Converse API (#3161)opentelemetry-opentelemetry-botocore
Add basic support for GenAI attributes for AWS Bedrock InvokeModel API (#3200)opentelemetry-opentelemetry-botocore
Add basic support for GenAI attributes for AWS Bedrock ConverseStream API (#3204)opentelemetry-opentelemetry-botocore
Add basic support for GenAI attributes for AWS Bedrock InvokeModelWithStreamResponse API (#3206)opentelemetry-instrumentation-pymssql
Add pymssql instrumentation (#394)opentelemetry-instrumentation-mysql
Add sqlcommenter support (#3163)
Fixed
opentelemetry-instrumentation-httpx
FixRequestInfo
/ResponseInfo
type hints (#3105)opentelemetry-instrumentation-dbapi
MoveTracedCursorProxy
andTracedConnectionProxy
to the module level (#3068)opentelemetry-instrumentation-click
Disable tracing of well-known server click commands (#3174)opentelemetry-instrumentation
Fixget_dist_dependency_conflicts
if no distribution requires (#3168)
Breaking changes
opentelemetry-instrumentation-sqlalchemy
including sqlcomment indb.statement
span attribute value is now opt-in (#3112)opentelemetry-instrumentation-dbapi
including sqlcomment indb.statement
span attribute value is now opt-in (#3115)opentelemetry-instrumentation-psycopg2
,opentelemetry-instrumentation-psycopg
,opentelemetry-instrumentation-mysqlclient
,opentelemetry-instrumentation-pymysql
: including sqlcomment indb.statement
span 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-starlette
Add type hints to the instrumentation (#3045)opentelemetry-distro
default to OTLP log exporter. (#3042)opentelemetry-instrumentation-sqlalchemy
Update unit tests to run with SQLALchemy 2 (#2976)- Add
opentelemetry-instrumentation-openai-v2
toopentelemetry-bootstrap
(#2996) opentelemetry-instrumentation-sqlalchemy
Add sqlcomment todb.statement
attribute (#2937)opentelemetry-instrumentation-dbapi
Add sqlcomment todb.statement
attribute (#2935)opentelemetry-instrumentation-dbapi
instrument_connection accepts optional connect_module (#3027)opentelemetry-instrumentation-mysqlclient
Add sqlcommenter support (#2941)opentelemetry-instrumentation-pymysql
Add sqlcommenter support (#2942)opentelemetry-instrumentation-click
: new instrumentation to trace click commands (#2994)
Fixed
opentelemetry-instrumentation-starlette
: Retrievemeter_provider
key instead of_meter_provider
on_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
assertEqualSpanInstrumentationInfo
calls withassertEqualSpanInstrumentationScope
calls (#3037) opentelemetry-instrumentation-sqlalchemy
Fixes engines fromsqlalchemy.engine_from_config
not 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)
Breaking changes
Version 1.28.2/0.49b2
Version 1.28.1/0.49b1
This is a patch release on the previous 1.28.0/0.49b0 release, fixing the issue(s) below.
Added
opentelemetry-instrumentation-sqlalchemy
Update unit tests to run with SQLALchemy 2 (#2976)
Fixed
Breaking changes
opentelemetry-instrumentation-openai-v2 2.0b0
-
Use generic
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
environment variable to control if content of prompt, completion, and other messages is captured. (#2947) -
Update OpenAI instrumentation to Semantic Conventions v1.28.0: add new attributes and switch prompts and completions to log-based events. (#2925)
-
Initial OpenAI instrumentation (#2759)
Version 1.28.0/0.49b0
Added
opentelemetry-instrumentation-openai-v2
Instrumentation for OpenAI >= 0.27.0 (#2759)opentelemetry-instrumentation-fastapi
Add autoinstrumentation mechanism tests. (#2860)opentelemetry-instrumentation-aiokafka
Add instrumentor and auto instrumentation support for aiokafka (#2082)opentelemetry-instrumentation-redis
Add additional attributes for methods create_index and search, rename those spans (#2635)opentelemetry-instrumentation
Add support for string based dotted module paths in unwrap (#2919)
Fixed
opentelemetry-instrumentation-aiokafka
WrapAIOKafkaConsumer.getone()
instead ofAIOKafkaConsumer.__anext__
(#2874)opentelemetry-instrumentation-confluent-kafka
Fix to allowtopic
to be extracted fromkwargs
inproduce()
([#2901])(#2901)opentelemetry-instrumentation-system-metrics
Update metric units to conform to UCUM conventions. (#2922)opentelemetry-instrumentation-celery
Don't detach context without a None token (#2927)opentelemetry-exporter-prometheus-remote-write
: sort labels before exporting (#2940)opentelemetry-instrumentation-dbapi
sqlcommenter key values created from PostgreSQL, MySQL systems (#2897)opentelemetry-instrumentation-system-metrics
: don't report open file descriptors on Windows (#2946)
Breaking changes
Version 1.27.0/0.48b0
Added
opentelemetry-instrumentation-kafka-python
Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)
Breaking changes
opentelemetry-bootstrap
Removeopentelemetry-instrumentation-aws-lambda
from the defaults instrumentations (#2786)
Fixed
opentelemetry-instrumentation-httpx
fix handling of async hooks (#2823)opentelemetry-instrumentation-system-metrics
fixprocess.runtime.cpu.utilization
values to be shown in range of 0 to 1 (#2812)opentelemetry-instrumentation-fastapi
fixfastapi
auto-instrumentation by removingfastapi-slim
support,fastapi-slim
itself is discontinued from maintainers (#2783)opentelemetry-instrumentation-aws-lambda
Avoid exception when a handler is not present. (#2750)opentelemetry-instrumentation-django
Fix regression -http.target
re-added back to old semconv duration metrics (#2746)opentelemetry-instrumentation-asgi
do not seturl.full
attribute for server spans (#2735)opentelemetry-instrumentation-grpc
Fixes the issue with the gRPC instrumentation not working with the 1.63.0 and higher version of gRPC (#2483)opentelemetry-instrumentation-aws-lambda
Fixing w3c baggage support (#2589)opentelemetry-instrumentation-celery
propagates baggage (#2385)opentelemetry-instrumentation-asyncio
Fixes async generator coroutines not being awaited (#2792)opentelemetry-instrumentation-tornado
Handle http client exception and record exception info into span (#2563)opentelemetry-instrumentation
fixhttp.host
new http semantic convention mapping to depend onkind
of span (#2814)
Version 1.26.0/0.47b0
Added
opentelemetry-instrumentation-flask
Addhttp.route
andhttp.target
to metric attributes (#2621)opentelemetry-instrumentation-aws-lambda
Enable global propagator for AWS instrumentation (#2708)opentelemetry-instrumentation-sklearn
Deprecated the sklearn instrumentation (#2708)opentelemetry-instrumentation-pyramid
Record exceptions raised when serving a request (#2622)opentelemetry-sdk-extension-aws
Add AwsXrayLambdaPropagator (#2573)opentelemetry-instrumentation-confluent-kafka
Add support for version 2.4.0 of confluent_kafka (#2616)opentelemetry-instrumentation-asyncpg
Add instrumentation to cursor based queries (#2501)opentelemetry-instrumentation-confluent-kafka
Add support for produce purge (#2638)opentelemetry-instrumentation-asgi
Implement new semantic convention opt-in with stable http semantic conventions (#2610)opentelemetry-instrumentation-fastapi
Implement new semantic convention opt-in with stable http semantic conventions (#2682)opentelemetry-instrumentation-httpx
Implement new semantic convention opt-in migration with stable http semantic conventions (#2631)opentelemetry-instrumentation-system-metrics
Permit to use psutil 6.0+. (#2630)opentelemetry-instrumentation-system-metrics
Add support for capture open file descriptors (#2652)opentelemetry-instrumentation-httpx
Add support for instrument client with proxy (#2664)opentelemetry-instrumentation-aiohttp-client
Implement new semantic convention opt-in migration (#2673)opentelemetry-instrumentation-django
Addhttp.target
to Django duration metric attributes (#2624)opentelemetry-instrumentation-urllib3
Implement new semantic convention opt-in migration (#2715)opentelemetry-instrumentation-django
Implement new semantic convention opt-in with stable http semantic conventions (#2714)
Breaking changes
opentelemetry-instrumentation-asgi
,opentelemetry-instrumentation-fastapi
,opentelemetry-instrumentation-starlette
Usetracer
andmeter
of originating components instead of one fromasgi
middleware (#2580)- Populate
{method}
asHTTP
on_OTHER
methods from scope forasgi
middleware (#2610) - Populate
{method}
asHTTP
on_OTHER
methods from scope forfastapi
middleware (#2682) opentelemetry-instrumentation-urllib3
Populate{method}
asHTTP
on_OTHER
methods for span name (#2715)- Populate
{method}
asHTTP
on_OTHER
methods from scope forfastapi
instrumentation (#2682) - Populate
{method}
asHTTP
on_OTHER
methods from scope fordjango
middleware (#2714) opentelemetry-instrumentation-httpx
,opentelemetry-instrumentation-aiohttp-client
,opentelemetry-instrumentation-requests
Populate{method}
asHTTP
on_OTHER
methods (#2726)opentelemetry-instrumentation-fastapi
Add dependency support for fastapi-slim (#2702)
Fixed
- Handle
redis.exceptions.WatchError
as a non-error event in redis instrumentation (#2668) opentelemetry-instrumentation-httpx
Ensure httpx.get or httpx.request like methods are instrumented (#2538)- Add Python 3.12 support (#2572)
opentelemetry-instrumentation-aiohttp-server
,opentelemetry-instrumentation-httpx
Ensure consistently use of suppress_instrumentation utils (#2590)- Reference symbols from generated semantic conventions (#2611)
opentelemetry-instrumentation-psycopg
Bugfix: Handle empty statement. (#2644)opentelemetry-instrumentation-confluent-kafka
Confluent Kafka: Ensure consume span is ended when consumer is closed (#2640)opentelemetry-instrumentation-asgi
Fix generation ofhttp.target
andhttp.url
attributes for ASGI apps using sub apps (#2477)opentelemetry-instrumentation-aws-lambda
Bugfix: AWS Lambda event source key incorrect for SNS in instrumentation library. (#2612)opentelemetry-instrumentation-asyncio
instrumentedasyncio.wait_for
properly raisesasyncio.TimeoutError
as expected (#2637)opentelemetry-instrumentation-django
Handle exceptions from request/response hooks (#2153)opentelemetry-instrumentation-asgi
RemovedNET_HOST_NAME
ANDNET_HOST_PORT
from active requests count attribute (#2610)opentelemetry-instrumentation-asgi
Bugfix: Middleware did not set status code attribute on duration metrics for non-recording spans. (#2627)