Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

opentelemetry-opamp-client 0.2b0

01 Apr 13:30
98545aa

Choose a tag to compare

  • Breaking change: callback class Callbacks renamed to OpAMPCallbacks (#4355)

opentelemetry-opamp-client 0.1b0

23 Mar 15:30
23f7540

Choose a tag to compare

  • Initial implementation (#3635)
  • Update client to have additional callback methods (#4322)

Version 1.40.0/0.61b0

04 Mar 14:20
3be9ca8

Choose a tag to compare

Added

  • Add Python 3.14 support (#4193)
  • opentelemetry-instrumentation-asgi: Add exemplars for http.server.request.duration and http.server.duration metrics (#3739)
  • opentelemetry-instrumentation-wsgi: Add exemplars for http.server.request.duration and http.server.duration metrics (#3739)
  • opentelemetry-instrumentation-aiohttp-client: add ability to capture custom headers (#3988)
  • opentelemetry-instrumentation-requests: add ability to capture custom headers (#3987)
  • opentelemetry-instrumentation-aiohttp-client: add typechecking for aiohttp-client instrumentation (#4006)
  • opentelemetry-instrumentation-flask: Add support for 3.1+ streaming responses (#3938)
  • opentelemetry-instrumentation-aiohttp-server: Support passing TracerProvider when instrumenting. (#3819)
  • opentelemetry-instrumentation-system-metrics: Add support for the OTEL_PYTHON_SYSTEM_METRICS_EXCLUDED_METRICS environment variable (#3959)
  • opentelemetry-instrumentation-httpx: add ability to capture custom headers (#4047)
  • opentelemetry-instrumentation-urllib3: add ability to capture custom headers (#4050)
  • opentelemetry-instrumentation-urllib: add ability to capture custom headers (#4051)
  • opentelemetry-instrumentation-confluent-kafka: Increase confluent-kafka upper bound to support newer versions (2.13.0) (#4099)
  • opentelemetry-instrumentation-aiohttp-server Implement new semantic convention opt-in migration (#3980)
  • opentelemetry-instrumentation-falcon: pass request attributes at span creation (#4119)
  • opentelemetry-instrumentation: add database stability attribute setters in _semconv utilities (#4108)
  • opentelemetry-instrumentation-aiohttp-server: pass request attributes at span creation (#4118)
  • opentelemetry-instrumentation-tornado: Implement new semantic convention opt-in migration (#3993)
  • opentelemetry-instrumentation-tornado: pass request attributes at span creation (#4140)
  • opentelemetry-instrumentation-pyramid Implement new semantic convention opt-in migration (#3982)
  • opentelemetry-instrumentation-tortoiseorm Add unit tests for Tortoise ORM instrumentation (#4141)
  • opentelemetry-instrumentation-pyramid: pass request attributes at span creation (#4139)
  • opentelemetry-instrumentation-logging: Move there the SDK LoggingHandler (#4210)
  • Add stale PR GitHub Action (#4220)

Fixed

  • opentelemetry-instrumentation-flask: Align http.server.active_requests initialization with semantic convention helpers to ensure consistent names, units, and descriptions. (#4094)
  • opentelemetry-instrumentation-asyncio: Fix environment variables not appearing in Read the Docs documentation (#4256)
  • opentelemetry-instrumentation-mysql: Refactor MySQL integration test mocks to use concrete DBAPI connection attributes, reducing noisy attribute type warnings. (#4116)
  • opentelemetry-instrumentation-cassandra: Use _instruments_any instead of _instruments for driver dependencies so that having either cassandra-driver or scylla-driver installed is sufficient (#4182)
  • opentelemetry-instrumentation-asyncpg: Hydrate span attributes before creation so samplers can filter on database details (#3841)
  • opentelemetry-instrumentation-django: Fix exemplars generation for http.server.(request.)duration (#3945)
  • opentelemetry-util-http, opentelemetry-instrumentation-requests, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation-asgi: normalize byte-valued user-agent headers before detecting synthetic sources so attributes are recorded reliably. (#4001)
  • opentelemetry-instrumentation-psycopg: Fix instrument_connection method to use _new_cursor_async_factory on async connections. (#3956)
  • opentelemetry-instrumentation-dbapi: Replace SpanAttributes with semconv constants where applicable (#4058)
  • opentelemetry-instrumentation-django: Replace SpanAttributes with semconv constants where applicable (#4059)
  • opentelemetry-instrumentation-botocore: Replace SpanAttributes with semconv constants where applicable (#4063)
  • opentelemetry-instrumentation-celery: Replace SpanAttributes with semconv constants where applicable (#4056)
  • opentelemetry-instrumentation-confluent-kafka: Replace SpanAttributes with semconv constants where applicable (#4057)
  • opentelemetry-instrumentation-cassandra: Replace SpanAttributes with semconv constants for DB attributes (#4055)
  • opentelemetry-instrumentation-falcon: Replace SpanAttributes with semconv constants (#4066)
  • opentelemetry-instrumentation-pika: Replace SpanAttributes with semconv constants for net attributes (#4068)
  • opentelemetry-instrumentation-mysqlclient: Replace SpanAttributes with semconv constants (#4067)
  • opentelemetry-instrumentation-pymemcache: Remove span attributes pymemcache (#4076)
  • opentelemetry-instrumentation-pymongo: Replace SpanAttributes with semconv constants (#4077)
  • opentelemetry-instrumentation-pymysql: Replace SpanAttributes with semconv constants (#4078)
  • opentelemetry-instrumentation-pyramid: Replace SpanAttributes with semconv constants (#4079)
  • opentelemetry-instrumentation-tortoiseorm: Replace SpanAttributes with semconv constants (#4080)
  • opentelemetry-instrumentation-asgi: Replace SpanAttributes with semconv constants (#4081)
  • opentelemetry-instrumentation-system-metrics: Use proper numeric cpython.gc.generation attribute in CPython metrics, out of spec generation attribute is deprecated and will be removed in the future (#4092)
  • opentelemetry-instrumentation-dbapi: Fix sqlcomment calculation of mysql_client_version field if connection reassignment, with "unknown" fallback (#3729)
  • opentelemetry-instrumentation-confluent-kafka: Fix incorrect number of argument to _inner_wrap_close (#3922)
  • opentelemetry-instrumentation-urllib3: fix multiple arguments error (#4144)
  • opentelemetry-instrumentation-psycopg: Fix instrument of typed psycopg sql (#4078)
  • opentelemetry-instrumentation-aiohttp-server: fix HTTP error inconsistencies ([#4175...
Read more

opentelemetry-util-genai 0.3b0

20 Feb 16:16
5711c8a

Choose a tag to compare

opentelemetry-instrumentation-google-genai 0.7b0

20 Feb 21:56
5f915e7

Choose a tag to compare

  • Fix bug in how tokens are counted when using the streaming generateContent method. (#4152).
  • Add gen_ai.tool.definitions attribute to gen_ai.client.inference.operation.details log event (#4142).
  • Add gen_ai.tool_definitions to completion hook (#4181)

opentelemetry-instrumentation-google-genai 0.6b0

27 Jan 22:15
a6fe8b3

Choose a tag to compare

  • Enable the addition of custom attributes to the generate_content {model.name} span via the Context API. (#3961).
  • Enable the addition of custom attributes to gen_ai.client.inference.operation.details log events (#4103).

opentelemetry-instrumentation-openai-v2 2.3b0

24 Dec 13:21
6733459

Choose a tag to compare

  • Fix AttributeError when handling LegacyAPIResponse (from with_raw_response) (#4017)
  • Add support for chat completions choice count and stop sequences span attributes (#4028)
  • Fix crash with streaming with_raw_response (#4033)
  • Bump to 1.30.0 semconv schema: gen_ai.request.seed instead of gen_ai.openai.request.seed (#4036)

opentelemetry-instrumentation-vertexai 2.2b0

19 Dec 19:10
5d81f09

Choose a tag to compare

  • Fix overwritten log attributes in vertexai instrumentation (#3925)
  • Add the GEN_AI_OUTPUT_TYPE, GEN_AI_REQUEST_CHOICE_COUNT and GEN_AI_REQUEST_SEED sem conv request attributes to events/spans generated in the stable instrumentation. This was added pre sem conv 1.36 so it should be in the stable instrumentation. See (#4011).

Version 1.39.1/0.60b1

11 Dec 13:37
b13d350

Choose a tag to compare

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

Fixed

  • opentelemetry-util-http, opentelemetry-instrumentation-requests, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation-asgi: normalize byte-valued user-agent headers before detecting synthetic sources so attributes are recorded reliably. (#4001)

opentelemetry-instrumentation-google-genai 0.5b0

11 Dec 14:50
a64bbf4

Choose a tag to compare

  • Ensure log event is written and completion hook is called even when model call results in exception. Put new log event ( gen_ai.client.inference.operation.details) behind the flag OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental. Ensure same sem conv attributes are on the log and span. Fix an issue where the instrumentation would crash when a pydantic.BaseModel class was passed as the response schema (#3905).
  • Add the GEN_AI_OUTPUT_TYPE sem conv request attributes to events/spans generated in the stable instrumentation. This was added pre sem conv 1.36 so it should be in the stable instrumentation. Fix a bug in how system instructions were recorded in the gen_ai.system.message log event. It will now always be recorded as {"content" : "text of system instructions"}. See (#4011).