Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

Version 1.27.0/0.48b0

28 Aug 21:28
dcbf1fd
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-kafka-python Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)

Breaking changes

  • opentelemetry-bootstrap Remove opentelemetry-instrumentation-aws-lambda from the defaults instrumentations (#2786)

Fixed

  • opentelemetry-instrumentation-httpx fix handling of async hooks (#2823)
  • opentelemetry-instrumentation-system-metrics fix process.runtime.cpu.utilization values to be shown in range of 0 to 1 (#2812)
  • opentelemetry-instrumentation-fastapi fix fastapi auto-instrumentation by removing fastapi-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 set url.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 fix http.host new http semantic convention mapping to depend on kind of span (#2814)

Version 1.26.0/0.47b0

25 Jul 03:26
44098b9
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-flask Add http.route and http.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 Add http.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 Use tracer and meter of originating components instead of one from asgi middleware (#2580)
  • Populate {method} as HTTP on _OTHER methods from scope for asgi middleware (#2610)
  • Populate {method} as HTTP on _OTHER methods from scope for fastapi middleware (#2682)
  • opentelemetry-instrumentation-urllib3 Populate {method} as HTTP on _OTHER methods for span name (#2715)
  • Populate {method} as HTTP on _OTHER methods from scope for fastapi instrumentation (#2682)
  • Populate {method} as HTTP on _OTHER methods from scope for django middleware (#2714)
  • opentelemetry-instrumentation-httpx, opentelemetry-instrumentation-aiohttp-client, opentelemetry-instrumentation-requests Populate {method} as HTTP 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 of http.target and http.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 instrumented asyncio.wait_for properly raises asyncio.TimeoutError as expected (#2637)
  • opentelemetry-instrumentation-django Handle exceptions from request/response hooks (#2153)
  • opentelemetry-instrumentation-asgi Removed NET_HOST_NAME AND NET_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)

Version 1.25.0/0.46b0

31 May 16:18
38146dd
Compare
Choose a tag to compare

Breaking changes

  • Add return statement to Confluent kafka Producer poll() and flush() calls when instrumented by ConfluentKafkaInstrumentor().instrument_producer() (#2527)
  • Rename type attribute to asgi.event.type in opentelemetry-instrumentation-asgi (#2300)
  • Rename AwsLambdaInstrumentor span attributes faas.id to cloud.resource_id, faas.execution to faas.invocation_id (#2372)
  • Drop support for instrumenting elasticsearch client < 6` (#2422)
  • opentelemetry-instrumentation-wsgi Add http.method to span.name (#2425)
  • opentelemetry-instrumentation-flask Add http.method to span.name (#2454)

Added

  • opentelemetry-sdk-extension-aws Register AWS resource detectors under the opentelemetry_resource_detector entry point (#2382)
  • opentelemetry-instrumentation-wsgi Implement new semantic convention opt-in with stable http semantic conventions (#2425)
  • opentelemetry-instrumentation-flask Implement new semantic convention opt-in with stable http semantic conventions (#2454)
  • opentelemetry-instrumentation-threading Initial release for threading (#2253)
  • opentelemetry-instrumentation-pika Instrumentation for channel.consume() (supported only for global, non channel specific instrumentation) (#2397))
  • opentelemetry-processor-baggage Initial release (#2436)
  • opentelemetry-processor-baggage Add baggage key predicate (#2535)

Fixed

  • opentelemetry-instrumentation-dbapi Fix compatibility with Psycopg3 to extract libpq build version (#2500)[https://github.com//pull/2500]
  • opentelemetry-instrumentation-grpc AioClientInterceptor should propagate with a Metadata object (#2363)
  • opentelemetry-instrumentation-boto3sqs Instrument Session and resource (#2161)
  • opentelemetry-instrumentation-aws-lambda Fix exception handling for events with requestContext (#2418)
  • Use sqlalchemy version in sqlalchemy commenter instead of opentelemetry library version (#2404)
  • opentelemetry-instrumentation-asyncio Check for cancelledException in the future (#2461)
  • Remove SDK dependency from opentelemetry-instrumentation-grpc (#2474)
  • opentelemetry-instrumentation-elasticsearch Improved support for version 8 (#2420)
  • opentelemetry-instrumentation-elasticsearch Disabling instrumentation with native OTel support enabled (#2524)
  • opentelemetry-instrumentation-asyncio Check for name attribute in the coroutine (#2521)
  • opentelemetry-instrumentation-requests Fix wrong time unit for duration histogram (#2553)
  • opentelemetry-util-http Preserve brackets around literal IPv6 hosts (#2552)
  • opentelemetry-util-redis Fix net peer attribute for unix socket connection (#2493)

Version 1.24.0/0.45b0

28 Mar 19:31
f431b07
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-psycopg Async Instrumentation for psycopg 3.x (#2146)

Fixed

  • opentelemetry-instrumentation-celery Allow Celery instrumentation to be installed multiple times (#2342)
  • Align gRPC span status codes to OTEL specification (#1756)
  • opentelemetry-instrumentation-flask Add 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.url not being of type httpx.URL after 0.44b0 (#2359)
  • Avoid losing repeated HTTP headers (#2266)
  • opentelemetry-instrumentation-elasticsearch Don't send bulk request body as db statement (#2355)
  • AwsLambdaInstrumentor sets cloud.account.id span attribute (#2367)

Version 1.23.0/0.44b0

23 Feb 17:50
Compare
Choose a tag to compare
  • Drop support for 3.7 (#2151)
  • opentelemetry-resource-detector-azure Added 10s timeout to VM Resource Detector (#2119)
  • opentelemetry-instrumentation-asyncpg Allow AsyncPGInstrumentor to be instantiated multiple times (#1791)
  • opentelemetry-instrumentation-confluent-kafka Add support for higher versions until 2.3.0 of confluent_kafka (#2132)
  • opentelemetry-resource-detector-azure Changed timeout to 4 seconds due to timeout bug (#2136)
  • opentelemetry-resource-detector-azure Suppress instrumentation for urllib call (#2178)
  • AwsLambdaInstrumentor handles and re-raises function exception (#2245)

Version 1.22.0/0.43b0

19 Dec 23:13
8c9df87
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation Added Otel semantic convention opt-in mechanism (#1987)
  • opentelemetry-instrumentation-httpx Fix mixing async and non async hooks (#1920)
  • opentelemetry-instrumentation-requests Implement new semantic convention opt-in with stable http semantic conventions (#2002)
  • opentelemetry-instrument-grpc Fix arity of context.abort for AIO RPCs (#2066)
  • Consolidate instrumentation suppression mechanisms and fix bug in httpx instrumentation
    (#2061)

Fixed

  • opentelemetry-instrumentation-httpx Remove URL credentials
    (#2020)
  • opentelemetry-instrumentation-urllib/opentelemetry-instrumentation-urllib3 Fix metric descriptions to match semantic conventions (#1959)
  • opentelemetry-resource-detector-azure Added dependency for Cloud Resource ID attribute
    (#2072)

Version 1.21.0/0.42b0

09 Nov 00:56
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-aiohttp-server Add instrumentor and auto instrumentation support for aiohttp-server (#1800)

Added

  • opentelemetry-instrumentation-botocore Include SNS topic ARN as a span attribute with name messaging.destination.name to uniquely identify the SNS topic (#1995)
  • opentelemetry-instrumentation-system-metrics Add support for collecting process metrics (#1948)
  • Added schema_url ("https://opentelemetry.io/schemas/1.11.0") to all metrics and traces (#1977)

Fixed

  • Fix version of Flask dependency werkzeug (#1980)
  • opentelemetry-resource-detector-azure Using new Cloud Resource ID attribute. (#1976)

Version 1.20.0/0.41b0

11 Sep 21:54
83a1712
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-asgi Fix 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-azure Add resource detectors for Azure App Service and VM (#1901)

Version 1.19.0/0.40b0

13 Jul 15:06
86a50b7
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-asgi Add http.server.request.size metric (#1867)

Fixed

  • opentelemetry-instrumentation-django Fix empty span name when using path("", ...) (#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-asgi Add http.server.response.size metric (#1789)
  • opentelemetry-instrumentation-grpc Allow gRPC connections via Unix socket (#1833)
  • Fix elasticsearch Transport.perform_request instrument wrap for elasticsearch >= 8 (#1810)
  • opentelemetry-instrumentation-urllib3 Add support for urllib3 version 2 (#1879)
  • Add optional distro and configurator selection for auto-instrumentation (#1823)

Version 1.18.0/0.39b0

19 May 20:35
78636f3
Compare
Choose a tag to compare
  • opentelemetry-instrumentation-system-metrics Add process. prefix to runtime.memory, runtime.cpu.time, and runtime.gc_count. Change runtime.memory from count to UpDownCounter. (#1735)
  • Add request and response hooks for GRPC instrumentation (client only) (#1706)
  • opentelemetry-instrumentation-pymemcache Update instrumentation to support pymemcache >4 (#1764)

Added

  • Expand sqlalchemy pool.name to follow the semantic conventions (#1778)
  • Add excluded_urls functionality to urllib and urllib3 instrumentations (#1733)
  • Make Django request span attributes available for start_span. (#1730)
  • Make ASGI request span attributes available for start_span. (#1762)
  • opentelemetry-instrumentation-celery Add support for anonymous tasks. (#1407)
  • opentelemetry-instrumentation-logging Add otelTraceSampled to instrumetation-logging (#1773)

Fixed

  • Fix elasticsearch db.statement attribute to be sanitized by default (#1758)
  • Fix AttributeError when AWS Lambda handler receives a list event (#1738)
  • Fix None does not implement middleware error when there are no middlewares registered (#1766)