Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

Version 1.38.0/0.59b0

16 Oct 08:40
071f686

Choose a tag to compare

Fixed

  • opentelemetry-instrumentation-flask: Do not record http.server.duration metrics for excluded URLs. (#3794)
  • opentelemetry-instrumentation-botocore: migrate off the deprecated events API to use the logs API (#3624)
  • opentelemetry-instrumentation-dbapi: fix crash retrieving libpq version when enabling commenter with psycopg (#3796)
  • opentelemetry-instrumentation-fastapi: Fix handling of APIRoute subclasses (#3681)

Added

  • opentelemetry-instrumentation-botocore: Add support for AWS Secrets Manager semantic convention attribute (#3765)
  • opentelemetry-instrumentation-dbapi: Add support for commenter_options in trace_integration function to control SQLCommenter behavior (#3743)
  • Add rstcheck to pre-commit to stop introducing invalid RST (#3777)
  • opentelemetry-exporter-credential-provider-gcp: create this package which provides support for supplying your machine's Application Default Credentials (https://cloud.google.com/docs/authentication/application-default-credentials) to the OTLP Exporters created automatically by OpenTelemetry Python's auto instrumentation. These credentials authorize OTLP traces to be sent to telemetry.googleapis.com. #3766.
  • opentelemetry-instrumentation-psycopg: Add missing parameter capture_parameters to instrumentor. (#3676)
  • opentelemetry-instrumentation-dbapi: Adds sqlcommenter to documentation. (#3720)

opentelemetry-instrumentation-vertexai 2.1b0

16 Oct 15:26
6f45f83

Choose a tag to compare

  • Update instrumentation to use the latest semantic convention changes made in open-telemetry/semantic-conventions#2179. Now only a single event and span (gen_ai.client.inference.operation.details) are used to capture prompt and response content. These changes are opt-in, users will need to set the environment variable OTEL_SEMCONV_STABILITY_OPT_IN to gen_ai_latest_experimental to see them (#3799) and (#3709). Update instrumentation to call upload hook.
  • Implement uninstrument for opentelemetry-instrumentation-vertexai (#3328)
  • VertexAI support for async calling (#3386) - Migrate off the deprecated events API to use the logs API (#3625) - Update gen_ai_latest_experimental instrumentation to record files being passed to the model (#3840).

opentelemetry-instrumentation-google-genai 0.4b0

16 Oct 15:13
d4a36ea

Choose a tag to compare

  • Implement the new semantic convention changes made in open-telemetry/semantic-conventions#2179. A single event (gen_ai.client.inference.operation.details) is used to capture Chat History. This is opt-in, an environment variable OTEL_SEMCONV_STABILITY_OPT_IN needs to be set to gen_ai_latest_experimental to see them (#3386)
  • Support CompletionHook for upload to cloud storage.

opentelemetry-util-genai 0.2b0

15 Oct 20:07
131f8d1

Choose a tag to compare

opentelemetry-instrumentation-openai-agents-v2 0.1.0

15 Oct 19:05
4cb85db

Choose a tag to compare

  • Initial barebones package skeleton: minimal instrumentor stub, version module, and packaging metadata/entry point. (#3805)
  • Implement OpenAI Agents span processing aligned with GenAI semantic conventions. (#3817)
  • Input and output according to GenAI spec. (#3824)

opentelemetry-util-genai 0.1b0

25 Sep 21:10
7f05245

Choose a tag to compare

  • Add completion hook to genai utils to implement semconv v1.37.

    Includes a hook implementation using fsspec to support uploading to various pluggable backends.

    (#3780) (#3752) (#3759) (#3763)

  • 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).

Version 1.37.0/0.58b0

11 Sep 11:43
3cb03e9

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

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

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

Choose a tag to compare

  • Add automatic instrumentation to tool call functions (#3446)