Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

Version 1.37.0/0.58b0

11 Sep 11:43
3cb03e9
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-fastapi: Fix middleware ordering to cover all exception handling use cases. (#3664)
  • opentelemetry-instrumentation-asgi: Make all user hooks failsafe and record exceptions in hooks. (#3664)
  • opentelemetry-instrumentation-fastapi: Fix memory leak in uninstrument_app() by properly removing apps from the tracking set (#3688)
  • opentelemetry-instrumentation-tornado Fix server (request) duration metric calculation (#3679)
  • opentelemetry-instrumentation-tornado: Fix to properly skip all server telemetry when URL excluded. (#3680)
  • opentelemetry-instrumentation: Avoid calls to context.detach with None token. (#3673)
  • opentelemetry-instrumentation-starlette/opentelemetry-instrumentation-fastapi: Fixes a crash when host-based routing is used (#3507)
  • Fix documentation order of sections and headers for Django, Flask, MySQL, mysqlclient, psycopg, psycopg2, pymysql, sqlalchemy instrumentations. (#3719)
  • opentelemetry-instrumentation-asgi Fixed an issue where FastAPI reports IP instead of URL. (#3670)
  • opentelemetry-instrumentation-httpx: fix missing metric response attributes when tracing is disabled (#3615)
  • opentelemetry-instrumentation-fastapi: Don't pass bounded server_request_hook when using FastAPIInstrumentor.instrument() (#3701)

Added

  • opentelemetry-util-genai Add a utility to parse the OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT environment variable. Add gen_ai_latest_experimental as a new value to the Sem Conv stability flag (#3716).
  • opentelemetry-instrumentation-confluent-kafka Add support for confluent-kafka <=2.11.0 (#3685)
  • opentelemetry-instrumentation-system-metrics: Add cpython.gc.collected_objects and cpython.gc.uncollectable_objects metrics (#3666)
  • opentelemetry-sdk-extension-aws Add AWS X-Ray Remote Sampler with initial Rules Poller implementation (#3366)
  • opentelemetry-instrumentation: add support for OTEL_PYTHON_AUTO_INSTRUMENTATION_EXPERIMENTAL_GEVENT_PATCH to inform opentelemetry-instrument about gevent monkeypatching (#3699)
  • opentelemetry-instrumentation: botocore: Add support for AWS Step Functions semantic convention attributes (#3737)
  • opentelemetry-instrumentation-botocore: Add support for SNS semantic convention attribute aws.sns.topic.arn (#3734)
  • opentelemetry-instrumentation: botocore: upgrade moto package from 5.0.9 to 5.1.11 (#3736)

Version 1.36.0/0.57b0

29 Jul 15:43
6f7a052
Compare
Choose a tag to compare

Fixed

  • opentelemetry-instrumentation: Fix dependency conflict detection when instrumented packages are not installed by moving check back to before instrumentors are loaded. Add "instruments-any" feature for instrumentations that target multiple packages. (#3610)
  • infra(ci): Fix git pull failures in core contrib test (#3357)

Added

  • opentelemetry-instrumentation-psycopg2 Utilize instruments-any functionality. (#3610)
  • opentelemetry-instrumentation-kafka-python Utilize instruments-any functionality. (#3610)

Version 1.35.0/0.56b0

11 Jul 12:26
d3ee80e
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-pika Added instrumentation for All SelectConnection adapters (#3584)
  • opentelemetry-instrumentation-tornado Add support for WebSocketHandler instrumentation (#3498)
  • opentelemetry-util-http Added support for redacting specific url query string values and url credentials in instrumentations (#3508)
  • opentelemetry-instrumentation-pymongo aggregate and getMore capture statements support (#3601)

Fixed

  • opentelemetry-instrumentation-asgi: fix excluded_urls in instrumentation-asgi (#3567)
  • opentelemetry-resource-detector-containerid: make it more quiet on platforms without cgroups (#3579)

opentelemetry-instrumentation-google-genai 0.3b0

08 Jul 18:49
f92f49e
Compare
Choose a tag to compare
  • Add automatic instrumentation to tool call functions (#3446)

Version 1.34.1/0.55b1

10 Jun 08:58
3d2e42a
Compare
Choose a tag to compare

This is a patch release on the previous 1.34.0/0.55b0 release, fixing the issue(s) below.

Version 1.34.0/0.55b0

04 Jun 14:40
fba2077
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-aiokafka Add instrumentation of consumer.getmany (batch) (#3257)

Fixed

  • opentelemetry-instrumentation-system-metrics: fix loading on Google Cloud Run (#3533)
  • opentelemetry-instrumentation-fastapi: fix wrapping of middlewares (#3012)
  • opentelemetry-instrumentation-starlette Remove max version constraint on starlette (#3456)
  • opentelemetry-instrumentation-starlette Fix memory leak and double middleware (#3529)
  • opentelemetry-instrumentation-urllib3: proper bucket boundaries in stable semconv http duration metrics (#3518)
  • opentelemetry-instrumentation-urllib: proper bucket boundaries in stable semconv http duration metrics (#3519)
  • opentelemetry-instrumentation-falcon: proper bucket boundaries in stable semconv http duration (#3525)
  • opentelemetry-instrumentation-wsgi: add explicit http duration buckets for stable semconv (#3527)
  • opentelemetry-instrumentation-asgi: add explicit http duration buckets for stable semconv (#3526)
  • opentelemetry-instrumentation-flask: proper bucket boundaries in stable semconv http duration (#3523)
  • opentelemetry-instrumentation-django: proper bucket boundaries in stable semconv http duration (#3524)
  • opentelemetry-instrumentation-grpc: support non-list interceptors (#3520)
  • opentelemetry-instrumentation-botocore Ensure spans end on early stream closure for Bedrock Streaming APIs (#3481)
  • opentelemetry-instrumentation-sqlalchemy Respect suppress_instrumentation functionality (#3477)
  • opentelemetry-instrumentation-botocore: fix handling of tool input in Bedrock ConverseStream (#3544)
  • opentelemetry-instrumentation-botocore Add type check when extracting tool use from Bedrock request message content (#3548)
  • opentelemetry-instrumentation-dbapi Respect suppress_instrumentation functionality (#3460)
  • opentelemetry-resource-detector-container Correctly parse container id when using systemd and cgroupsv1 (#3429)

Breaking changes

  • opentelemetry-instrumentation-botocore Use cloud.region instead of aws.region span attribute as per semantic conventions. (#3474)
  • opentelemetry-instrumentation-fastapi: Drop support for FastAPI versions earlier than 0.92 (#3012)
  • opentelemetry-resource-detector-container: rename package name to opentelemetry-resource-detector-containerid (#3536)

Added

  • opentelemetry-instrumentation-aiohttp-client Add support for HTTP metrics (#3517)
  • opentelemetry-instrumentation-httpx Add support for HTTP metrics (#3513)
  • opentelemetry-instrumentation Allow re-raising exception when instrumentation fails (#3545)

Deprecated

  • Drop support for Python 3.8, bump baseline to Python 3.9. (#3399)

Version 1.33.1/0.54b1

16 May 19:04
ba87d51
Compare
Choose a tag to compare

This is a patch release on the previous 1.33.0/0.54b0 release, fixing the issue(s) below.

Version 1.33.0/0.54b0

09 May 14:59
553122e
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-requests Support explicit_bucket_boundaries_advisory in duration metrics (#3464)
  • opentelemetry-instrumentation-redis Add support for redis client-specific instrumentation. (#3143)

Fixed

  • opentelemetry-instrumentation Catch ModuleNotFoundError when the library is not installed and log as debug instead of exception (#3423)
  • opentelemetry-instrumentation-asyncio Fix duplicate instrumentation (#3383)
  • opentelemetry-instrumentation-botocore Add GenAI instrumentation for additional Bedrock models for InvokeModel API (#3419)
  • opentelemetry-instrumentation don't print duplicated conflict log error message (#3432)
  • opentelemetry-instrumentation-grpc Check for None result in gRPC (#3380)
  • opentelemetry-instrumentation-[asynclick/click] Add missing opentelemetry-instrumentation dep (#3447)
  • opentelemetry-instrumentation-botocore Capture server attributes for botocore API calls (#3448)

opentelemetry-instrumentation-google-genai 0.2b0

28 Apr 17:50
d1306de
Compare
Choose a tag to compare
  • Add more request configuration options to the span attributes (#3374)

  • Restructure tests to keep in line with repository conventions (#3344)

  • Fix bug where span attribute gen_ai.response.finish_reasons is empty (#3417)

Version 1.32.1/0.53b1

15 Apr 16:05
d731d36
Compare
Choose a tag to compare

This is a patch release on the previous 1.32.0/0.53b0 release, fixing the issue(s) below.

Fixed

  • opentelemetry-instrumentation Catch ModuleNotFoundError when the library is not installed and log as debug instead of exception (#3425)