Releases: open-telemetry/opentelemetry-python-contrib
Releases · open-telemetry/opentelemetry-python-contrib
Version 1.26.0/0.47b0
Added
opentelemetry-instrumentation-flaskAddhttp.routeandhttp.targetto metric attributes (#2621)opentelemetry-instrumentation-aws-lambdaEnable global propagator for AWS instrumentation (#2708)opentelemetry-instrumentation-sklearnDeprecated the sklearn instrumentation (#2708)opentelemetry-instrumentation-pyramidRecord exceptions raised when serving a request (#2622)opentelemetry-sdk-extension-awsAdd AwsXrayLambdaPropagator (#2573)opentelemetry-instrumentation-confluent-kafkaAdd support for version 2.4.0 of confluent_kafka (#2616)opentelemetry-instrumentation-asyncpgAdd instrumentation to cursor based queries (#2501)opentelemetry-instrumentation-confluent-kafkaAdd support for produce purge (#2638)opentelemetry-instrumentation-asgiImplement new semantic convention opt-in with stable http semantic conventions (#2610)opentelemetry-instrumentation-fastapiImplement new semantic convention opt-in with stable http semantic conventions (#2682)opentelemetry-instrumentation-httpxImplement new semantic convention opt-in migration with stable http semantic conventions (#2631)opentelemetry-instrumentation-system-metricsPermit to use psutil 6.0+. (#2630)opentelemetry-instrumentation-system-metricsAdd support for capture open file descriptors (#2652)opentelemetry-instrumentation-httpxAdd support for instrument client with proxy (#2664)opentelemetry-instrumentation-aiohttp-clientImplement new semantic convention opt-in migration (#2673)opentelemetry-instrumentation-djangoAddhttp.targetto Django duration metric attributes (#2624)opentelemetry-instrumentation-urllib3Implement new semantic convention opt-in migration (#2715)opentelemetry-instrumentation-djangoImplement new semantic convention opt-in with stable http semantic conventions (#2714)
Breaking changes
opentelemetry-instrumentation-asgi,opentelemetry-instrumentation-fastapi,opentelemetry-instrumentation-starletteUsetracerandmeterof originating components instead of one fromasgimiddleware (#2580)- Populate
{method}asHTTPon_OTHERmethods from scope forasgimiddleware (#2610) - Populate
{method}asHTTPon_OTHERmethods from scope forfastapimiddleware (#2682) opentelemetry-instrumentation-urllib3Populate{method}asHTTPon_OTHERmethods for span name (#2715)- Populate
{method}asHTTPon_OTHERmethods from scope forfastapiinstrumentation (#2682) - Populate
{method}asHTTPon_OTHERmethods from scope fordjangomiddleware (#2714) opentelemetry-instrumentation-httpx,opentelemetry-instrumentation-aiohttp-client,opentelemetry-instrumentation-requestsPopulate{method}asHTTPon_OTHERmethods (#2726)opentelemetry-instrumentation-fastapiAdd dependency support for fastapi-slim (#2702)
Fixed
- Handle
redis.exceptions.WatchErroras a non-error event in redis instrumentation (#2668) opentelemetry-instrumentation-httpxEnsure httpx.get or httpx.request like methods are instrumented (#2538)- Add Python 3.12 support (#2572)
opentelemetry-instrumentation-aiohttp-server,opentelemetry-instrumentation-httpxEnsure consistently use of suppress_instrumentation utils (#2590)- Reference symbols from generated semantic conventions (#2611)
opentelemetry-instrumentation-psycopgBugfix: Handle empty statement. (#2644)opentelemetry-instrumentation-confluent-kafkaConfluent Kafka: Ensure consume span is ended when consumer is closed (#2640)opentelemetry-instrumentation-asgiFix generation ofhttp.targetandhttp.urlattributes for ASGI apps using sub apps (#2477)opentelemetry-instrumentation-aws-lambdaBugfix: AWS Lambda event source key incorrect for SNS in instrumentation library. (#2612)opentelemetry-instrumentation-asyncioinstrumentedasyncio.wait_forproperly raisesasyncio.TimeoutErroras expected (#2637)opentelemetry-instrumentation-djangoHandle exceptions from request/response hooks (#2153)opentelemetry-instrumentation-asgiRemovedNET_HOST_NAMEANDNET_HOST_PORTfrom active requests count attribute (#2610)opentelemetry-instrumentation-asgiBugfix: Middleware did not set status code attribute on duration metrics for non-recording spans. (#2627)
Version 1.25.0/0.46b0
Breaking changes
- Add return statement to Confluent kafka Producer poll() and flush() calls when instrumented by ConfluentKafkaInstrumentor().instrument_producer() (#2527)
- Rename
typeattribute toasgi.event.typeinopentelemetry-instrumentation-asgi(#2300) - Rename AwsLambdaInstrumentor span attributes
faas.idtocloud.resource_id,faas.executiontofaas.invocation_id(#2372) - Drop support for instrumenting elasticsearch client < 6` (#2422)
opentelemetry-instrumentation-wsgiAddhttp.methodtospan.name(#2425)opentelemetry-instrumentation-flaskAddhttp.methodtospan.name(#2454)
Added
opentelemetry-sdk-extension-awsRegister AWS resource detectors under theopentelemetry_resource_detectorentry point (#2382)opentelemetry-instrumentation-wsgiImplement new semantic convention opt-in with stable http semantic conventions (#2425)opentelemetry-instrumentation-flaskImplement new semantic convention opt-in with stable http semantic conventions (#2454)opentelemetry-instrumentation-threadingInitial release for threading (#2253)opentelemetry-instrumentation-pikaInstrumentation forchannel.consume()(supported only for global, non channel specific instrumentation) (#2397))opentelemetry-processor-baggageInitial release (#2436)opentelemetry-processor-baggageAdd baggage key predicate (#2535)
Fixed
opentelemetry-instrumentation-dbapiFix compatibility with Psycopg3 to extract libpq build version (#2500)[https://github.com//pull/2500]opentelemetry-instrumentation-grpcAioClientInterceptor should propagate with a Metadata object (#2363)opentelemetry-instrumentation-boto3sqsInstrument Session and resource (#2161)opentelemetry-instrumentation-aws-lambdaFix exception handling for events with requestContext (#2418)- Use sqlalchemy version in sqlalchemy commenter instead of opentelemetry library version (#2404)
opentelemetry-instrumentation-asyncioCheck for cancelledException in the future (#2461)- Remove SDK dependency from opentelemetry-instrumentation-grpc (#2474)
opentelemetry-instrumentation-elasticsearchImproved support for version 8 (#2420)opentelemetry-instrumentation-elasticsearchDisabling instrumentation with native OTel support enabled (#2524)opentelemetry-instrumentation-asyncioCheck for name attribute in the coroutine (#2521)opentelemetry-instrumentation-requestsFix wrong time unit for duration histogram (#2553)opentelemetry-util-httpPreserve brackets around literal IPv6 hosts (#2552)opentelemetry-util-redisFix net peer attribute for unix socket connection (#2493)
Version 1.24.0/0.45b0
opentelemetry-instrumentation-psycopgAsync Instrumentation for psycopg 3.x (#2146)
Fixed
opentelemetry-instrumentation-celeryAllow Celery instrumentation to be installed multiple times (#2342)- Align gRPC span status codes to OTEL specification (#1756)
opentelemetry-instrumentation-flaskAdd importlib metadata default for deprecation warning flask version (#2297)- Ensure all http.server.duration metrics have the same description (#2151)
- Fix regression in httpx
request.urlnot being of typehttpx.URLafter0.44b0(#2359) - Avoid losing repeated HTTP headers (#2266)
opentelemetry-instrumentation-elasticsearchDon't send bulk request body as db statement (#2355)- AwsLambdaInstrumentor sets
cloud.account.idspan attribute (#2367)
Version 1.23.0/0.44b0
- Drop support for 3.7 (#2151)
opentelemetry-resource-detector-azureAdded 10s timeout to VM Resource Detector (#2119)opentelemetry-instrumentation-asyncpgAllow AsyncPGInstrumentor to be instantiated multiple times (#1791)opentelemetry-instrumentation-confluent-kafkaAdd support for higher versions until 2.3.0 of confluent_kafka (#2132)opentelemetry-resource-detector-azureChanged timeout to 4 seconds due to timeout bug (#2136)opentelemetry-resource-detector-azureSuppress instrumentation forurllibcall (#2178)- AwsLambdaInstrumentor handles and re-raises function exception (#2245)
Version 1.22.0/0.43b0
Added
opentelemetry-instrumentationAdded Otel semantic convention opt-in mechanism (#1987)opentelemetry-instrumentation-httpxFix mixing async and non async hooks (#1920)opentelemetry-instrumentation-requestsImplement new semantic convention opt-in with stable http semantic conventions (#2002)opentelemetry-instrument-grpcFix arity of context.abort for AIO RPCs (#2066)- Consolidate instrumentation suppression mechanisms and fix bug in httpx instrumentation
(#2061)
Fixed
Version 1.21.0/0.42b0
opentelemetry-instrumentation-aiohttp-serverAdd instrumentor and auto instrumentation support for aiohttp-server (#1800)
Added
opentelemetry-instrumentation-botocoreInclude SNS topic ARN as a span attribute with namemessaging.destination.nameto uniquely identify the SNS topic (#1995)opentelemetry-instrumentation-system-metricsAdd support for collecting process metrics (#1948)- Added schema_url (
"https://opentelemetry.io/schemas/1.11.0") to all metrics and traces (#1977)
Fixed
Version 1.20.0/0.41b0
Fixed
opentelemetry-instrumentation-asgiFix UnboundLocalError local variable 'start' referenced before assignment (#1889)- Fixed union typing error not compatible with Python 3.7 introduced in
opentelemetry-util-http, fix tests introduced by patch related to sanitize method for wsgi (#1913)
Added
opentelemetry-resource-detector-azureAdd resource detectors for Azure App Service and VM (#1901)
Version 1.19.0/0.40b0
opentelemetry-instrumentation-asgiAddhttp.server.request.sizemetric (#1867)
Fixed
opentelemetry-instrumentation-djangoFix empty span name when usingpath("", ...)(#1788- Fix elastic-search instrumentation sanitization to support bulk queries (#1870)
- Update falcon instrumentation to follow semantic conventions (#1824)
- Fix sqlalchemy instrumentation wrap methods to accept sqlcommenter options (#1873)
Added
- Add instrumentor support for mysqlclient (#1744)
- Fix async redis clients not being traced correctly (#1830)
- Make Flask request span attributes available for
start_span. (#1784) - Fix falcon instrumentation's usage of Span Status to only set the description if the status code is ERROR. (#1840)
- Instrument all httpx versions >= 0.18. (#1748)
- Fix
Invalid type NoneType for attribute X (opentelemetry-instrumentation-aws-lambda)error when some attributes do not exist (#1780) - Add metric instrumentation for celery (#1679)
opentelemetry-instrumentation-asgiAddhttp.server.response.sizemetric (#1789)opentelemetry-instrumentation-grpcAllow gRPC connections via Unix socket (#1833)- Fix elasticsearch
Transport.perform_requestinstrument wrap for elasticsearch >= 8 (#1810) opentelemetry-instrumentation-urllib3Add support for urllib3 version 2 (#1879)- Add optional distro and configurator selection for auto-instrumentation (#1823)
Version 1.18.0/0.39b0
opentelemetry-instrumentation-system-metricsAddprocess.prefix toruntime.memory,runtime.cpu.time, andruntime.gc_count. Changeruntime.memoryfrom count to UpDownCounter. (#1735)- Add request and response hooks for GRPC instrumentation (client only) (#1706)
opentelemetry-instrumentation-pymemcacheUpdate instrumentation to support pymemcache >4 (#1764)
Added
- Expand sqlalchemy pool.name to follow the semantic conventions (#1778)
- Add
excluded_urlsfunctionality tourllibandurllib3instrumentations (#1733) - Make Django request span attributes available for
start_span. (#1730) - Make ASGI request span attributes available for
start_span. (#1762) opentelemetry-instrumentation-celeryAdd support for anonymous tasks. (#1407)opentelemetry-instrumentation-loggingAddotelTraceSampledto instrumetation-logging (#1773)
Fixed
Version 1.17.0/0.38b0
Added
- Add connection attributes to sqlalchemy connect span (#1608)
- Add support for enabling Redis sanitization from environment variable (#1690)
- Add metrics instrumentation for sqlalchemy (#1645)
Fixed
- Fix Flask instrumentation to only close the span if it was created by the same thread. (#1654)
- Fix confluent-kafka instrumentation by allowing Producer headers to be dict or list (#1655)
opentelemetry-instrumentation-system-metricsFix initialization of the instrumentation class when configuration is provided (#1438)- Fix exception in Urllib3 when dealing with filelike body. (#1399)
- Fix httpx resource warnings (#1695)
Changed
opentelemetry-instrumentation-requestsReplacename_callbackandspan_callbackwith standardresponse_hookandrequest_hookcallbacks (#670)