Skip to content

Releases: open-telemetry/opentelemetry-python-contrib

Version 1.31.0/0.52b0

12 Mar 18:03
976a4b5
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-openai-v2 Update doc for OpenAI Instrumentation to support OpenAI Compatible Platforms (#3279)
  • opentelemetry-instrumentation-system-metrics Add process metrics and deprecated process.runtime prefixed ones (#3250)
  • opentelemetry-instrumentation-botocore Add support for GenAI user events and lazy initialize tracer (#3258)
  • opentelemetry-instrumentation-botocore Add support for GenAI system events (#3266)
  • opentelemetry-instrumentation-botocore Add support for GenAI choice events (#3275)
  • opentelemetry-instrumentation-botocore Add support for GenAI tool events (#3302)
  • opentelemetry-instrumentation-botocore Add support for GenAI metrics (#3326)
  • opentelemetry-instrumentation make it simpler to initialize auto-instrumentation programmatically (#3273)
  • Add opentelemetry-instrumentation-vertexai>=2.0b0 to opentelemetry-bootstrap (#3307)
  • Loosen opentelemetry-instrumentation-starlette[instruments] specifier (#3304)

Fixed

  • opentelemetry-instrumentation-redis Add missing entry in doc string for def _instrument (#3247)
  • opentelemetry-instrumentation-botocore sns-extension: Change destination name attribute to match topic ARN and redact phone number from attributes (#3249)
  • opentelemetry-instrumentation-asyncpg Fix fallback for empty queries. (#3253)
  • opentelemetry-instrumentation-threading Fix broken context typehints (#3322)
  • opentelemetry-instrumentation-requests always record span status code in duration metric (#3323)

opentelemetry-instrumentation-google-genai 0.1b0

05 Mar 19:38
49011ae
Compare
Choose a tag to compare
  • Add support for async and streaming. (#3298)

Create an initial version of Open Telemetry instrumentation for github.com/googleapis/python-genai. (#3256)

opentelemetry-instrumentation-vertexai 2.0b0

24 Feb 18:47
e728ed7
Compare
Choose a tag to compare
  • Added Vertex AI spans for request parameters (#3192)
  • Initial VertexAI instrumentation (#3123)
  • Add server attributes to Vertex AI spans (#3208)
  • VertexAI emit user, system, and assistant events (#3203)
  • Add Vertex gen AI response attributes and gen_ai.choice events (#3227)
  • VertexAI stop serializing unset fields into event (#3236)
  • Vertex capture tool requests and responses (#3255)

Version 1.30.0/0.51b0

04 Feb 18:22
fc03baf
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-confluent-kafka Add support for confluent-kafka <=2.7.0 (#3100)
  • Add support to database stability opt-in in _semconv utilities and add tests (#3111)
  • opentelemetry-instrumentation-urllib Add py.typed file to enable PEP 561 (#3131)
  • opentelemetry-opentelemetry-pymongo Add py.typed file to enable PEP 561 (#3136)
  • opentelemetry-opentelemetry-requests Add py.typed file to enable PEP 561 (#3135)
  • opentelemetry-instrumentation-system-metrics Add py.typed file to enable PEP 561 (#3132)
  • opentelemetry-opentelemetry-sqlite3 Add py.typed file to enable PEP 561 (#3133)
  • opentelemetry-instrumentation-falcon add support version to v4 (#3086)
  • opentelemetry-instrumentation-falcon Implement new HTTP semantic convention opt-in for Falcon (#2790)
  • opentelemetry-instrumentation-wsgi always record span status code to have it available in metrics (#3148)
  • add support to Python 3.13 (#3134)
  • opentelemetry-opentelemetry-wsgi Add py.typed file to enable PEP 561 (#3129)
  • opentelemetry-util-http Add py.typed file to enable PEP 561 (#3127)
  • opentelemetry-instrumentation-psycopg2 Add support for psycopg2-binary (#3186)
  • opentelemetry-opentelemetry-botocore Add basic support for GenAI attributes for AWS Bedrock Converse API (#3161)
  • opentelemetry-opentelemetry-botocore Add basic support for GenAI attributes for AWS Bedrock InvokeModel API (#3200)
  • opentelemetry-opentelemetry-botocore Add basic support for GenAI attributes for AWS Bedrock ConverseStream API (#3204)
  • opentelemetry-opentelemetry-botocore Add basic support for GenAI attributes for AWS Bedrock InvokeModelWithStreamResponse API (#3206)
  • opentelemetry-instrumentation-pymssql Add pymssql instrumentation (#394)
  • opentelemetry-instrumentation-mysql Add sqlcommenter support (#3163)

Fixed

  • opentelemetry-instrumentation-httpx Fix RequestInfo/ResponseInfo type hints (#3105)
  • opentelemetry-instrumentation-dbapi Move TracedCursorProxy and TracedConnectionProxy to the module level (#3068)
  • opentelemetry-instrumentation-click Disable tracing of well-known server click commands (#3174)
  • opentelemetry-instrumentation Fix get_dist_dependency_conflicts if no distribution requires (#3168)

Breaking changes

  • opentelemetry-instrumentation-sqlalchemy including sqlcomment in db.statement span attribute value is now opt-in (#3112)
  • opentelemetry-instrumentation-dbapi including sqlcomment in db.statement span attribute value is now opt-in (#3115)
  • opentelemetry-instrumentation-psycopg2, opentelemetry-instrumentation-psycopg, opentelemetry-instrumentation-mysqlclient, opentelemetry-instrumentation-pymysql: including sqlcomment in db.statement span attribute value is now opt-in (#3121)

opentelemetry-instrumentation-openai-v2 2.1b0

18 Jan 18:34
dc9a36e
Compare
Choose a tag to compare
  • Coerce openai response_format to semconv format (#3073)
  • Add example to opentelemetry-instrumentation-openai-v2 (#3006)
  • Support for AsyncOpenAI/AsyncCompletions (#2984)
  • Add metrics (#3180)

opentelemetry-sdk-extension-aws 2.1.0

24 Dec 15:02
a8c12a4
Compare
Choose a tag to compare
  • Make ec2 resource detector silent when loaded outside AWS (#3120)
  • Make ecs and beanstalk resource detector silent when loaded outside AWS (#3076)
  • Make EKS resource detector don't warn when not running in EKS (#3074)

Version 1.29.0/0.50b0

11 Dec 17:06
2480f4e
Compare
Choose a tag to compare

Added

  • opentelemetry-instrumentation-starlette Add type hints to the instrumentation (#3045)
  • opentelemetry-distro default to OTLP log exporter. (#3042)
  • opentelemetry-instrumentation-sqlalchemy Update unit tests to run with SQLALchemy 2 (#2976)
  • Add opentelemetry-instrumentation-openai-v2 to opentelemetry-bootstrap (#2996)
  • opentelemetry-instrumentation-sqlalchemy Add sqlcomment to db.statement attribute (#2937)
  • opentelemetry-instrumentation-dbapi Add sqlcomment to db.statement attribute (#2935)
  • opentelemetry-instrumentation-dbapi instrument_connection accepts optional connect_module (#3027)
  • opentelemetry-instrumentation-mysqlclient Add sqlcommenter support (#2941)
  • opentelemetry-instrumentation-pymysql Add sqlcommenter support (#2942)
  • opentelemetry-instrumentation-click: new instrumentation to trace click commands (#2994)

Fixed

  • opentelemetry-instrumentation-starlette: Retrieve meter_provider key instead of _meter_provider on _instrument (#3048)
  • opentelemetry-instrumentation-httpx: instrument_client is a static method again (#3003)
  • opentelemetry-instrumentation-system_metrics: fix callbacks reading wrong config (#3025)
  • opentelemetry-instrumentation-httpx: Check if mount transport is none before wrap it (#3022)
  • Replace all instrumentor unit test assertEqualSpanInstrumentationInfo calls with assertEqualSpanInstrumentationScope calls (#3037)
  • opentelemetry-instrumentation-sqlalchemy Fixes engines from sqlalchemy.engine_from_config not being fully instrumented (#2816)
  • opentelemetry-instrumentation-sqlalchemy: Fix a remaining memory leak in EngineTracer (#3053)
  • opentelemetry-instrumentation-sqlite3: Update documentation on explicit cursor support of tracing (#3088)

Breaking changes

  • opentelemetry-instrumentation-sqlalchemy teach instruments version (#2971)
  • Drop opentelemetry-instrumentation-test package from default instrumentation list (#2969)
  • opentelemetry-instrumentation-httpx: remove private unused _InstrumentedClient and _InstrumentedAsyncClient classes (#3036)

Version 1.28.2/0.49b2

18 Nov 18:40
54e684a
Compare
Choose a tag to compare

This is a patch release on the previous 1.28.1/0.49b1 release, fixing the issue(s) below.

Added

  • Add opentelemetry-instrumentation-openai-v2 to opentelemetry-bootstrap (#2996)

Fixed

  • opentelemetry-instrumentation-httpx: instrument_client is a static method again (#3003)

Breaking changes

Version 1.28.1/0.49b1

08 Nov 19:33
ec1c9ea
Compare
Choose a tag to compare

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

Added

  • opentelemetry-instrumentation-sqlalchemy Update unit tests to run with SQLALchemy 2 (#2976)

Fixed

Breaking changes

  • opentelemetry-instrumentation-sqlalchemy teach instruments version (#2971)
  • Drop opentelemetry-instrumentation-test package from default instrumentation list (#2969)

opentelemetry-instrumentation-openai-v2 2.0b0

08 Nov 00:37
3a21b9d
Compare
Choose a tag to compare
  • Use generic OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT environment variable to control if content of prompt, completion, and other messages is captured. (#2947)

  • Update OpenAI instrumentation to Semantic Conventions v1.28.0: add new attributes and switch prompts and completions to log-based events. (#2925)

  • Initial OpenAI instrumentation (#2759)