Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ All instrumentations use [opentelemetry-util-genai](./util/opentelemetry-util-ge
| --------------- | ----------------- | ------- | ------ |
| [opentelemetry-instrumentation-genai-claude-agent-sdk](./instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk) | claude-agent-sdk >= 0.1.14, < 1 | 1.3b0.dev | skeleton |
| [opentelemetry-instrumentation-genai-crewai](./instrumentation/opentelemetry-instrumentation-genai-crewai) | crewai >= 1.10.1, < 2 | 1.3b0.dev | skeleton |
| [opentelemetry-instrumentation-genai-qwenpaw](./instrumentation/opentelemetry-instrumentation-genai-qwenpaw) | qwenpaw >= 1.1.0, < 2.0.0; python_version < '3.14' | 1.3b0.dev | to be released |
| [opentelemetry-instrumentation-genai-qwenpaw](./instrumentation/opentelemetry-instrumentation-genai-qwenpaw) | qwenpaw >= 1.1.0, < 2.0.0; python_version < '3.14' | 1.3b0 | to be released |
| [opentelemetry-instrumentation-genai-weaviate-client](./instrumentation/opentelemetry-instrumentation-genai-weaviate-client) | weaviate-client >= 3.0.0, <5.0.0 | 1.3b0.dev | skeleton |
<!-- end -->

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Added

- Add instrumentation for Agent, Team, and Workflow continue_run and
acontinue_run methods.
([#731](https://github.com/open-telemetry/opentelemetry-python-genai/pull/731))
- Capture conversation ID at span start
([#868](https://github.com/open-telemetry/opentelemetry-python-genai/pull/868))

### Changed

- Record tool call arguments and dict results as compact JSON. Previously they
included spaces, e.g. `{"a": 3, "b": 4}`, now `{"a":3,"b":4}`.
([#821](https://github.com/open-telemetry/opentelemetry-python-genai/pull/821))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,35 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Added

- Capture reasoning token counts `gen_ai.usage.reasoning.output_tokens` on
messages
([#779](https://github.com/open-telemetry/opentelemetry-python-genai/pull/779))
- Add instrumentation for `beta.messages` (`create`, `stream`, and `parse`).
([#781](https://github.com/open-telemetry/opentelemetry-python-genai/pull/781))
- Support anthropic 2.x
([#966](https://github.com/open-telemetry/opentelemetry-python-genai/pull/966))

### Changed

- Drop file-backed and iterator document content instead of recording it as a
type-only `GenericPart`.
([#936](https://github.com/open-telemetry/opentelemetry-python-genai/pull/936))

### Fixed

- Preserve available Anthropic partial response content when a stream fails.
([#793](https://github.com/open-telemetry/opentelemetry-python-genai/pull/793))
- Stop request extraction from raising on a `system` list that holds plain
strings.
([#866](https://github.com/open-telemetry/opentelemetry-python-genai/pull/866))
- Capture one-shot message, content, system, and tool iterators lazily as the
Anthropic SDK consumes them.
([#873](https://github.com/open-telemetry/opentelemetry-python-genai/pull/873))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,37 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Added

- Add support for Bedrock Agent Runtime (retrieve_and_generate and
retrieve_and_generate_stream) in synchronous and asynchronous calls.
([#733](https://github.com/open-telemetry/opentelemetry-python-genai/pull/733))
- Add instrumentation for ``bedrock-agent-runtime.invoke_inline_agent``.
([#736](https://github.com/open-telemetry/opentelemetry-python-genai/pull/736))
- Add support for Bedrock Embeddings (Amazon Titan, Cohere, etc.) and Bedrock
Agent Runtime (invoke_agent and retrieve) in synchronous and asynchronous
calls.
([#776](https://github.com/open-telemetry/opentelemetry-python-genai/pull/776))

### Changed

- Drop unmapped content blocks and non-text system instruction parts instead of
recording them as type-only `GenericPart`.
([#936](https://github.com/open-telemetry/opentelemetry-python-genai/pull/936))

### Fixed

- Stop request extraction from raising on a Converse `document` block whose
`format` is not a string.
([#866](https://github.com/open-telemetry/opentelemetry-python-genai/pull/866))
- Capture Bedrock Converse request messages provided as tuples.
([#870](https://github.com/open-telemetry/opentelemetry-python-genai/pull/870))
- Stop recording an empty reasoning part for redacted Converse reasoning
content.
([#932](https://github.com/open-telemetry/opentelemetry-python-genai/pull/932))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,31 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Added

- Add instrumentation for ``dspy.LM``.
([#683](https://github.com/open-telemetry/opentelemetry-python-genai/pull/683))
- Extend DSPy retrieval instrumentation to cover `dspy.ColBERTv2`,
`dspy.Embeddings`, `EmbeddingsWithScores`, and `dspy.Retrieve` subclasses
overriding `forward()`.
([#780](https://github.com/open-telemetry/opentelemetry-python-genai/pull/780))

### Changed

- Record non-string tool call results as JSON strings, and convert objects
through `model_dump` or `__dict__`. Previously primitives were recorded as-is
and objects through `str()`, e.g. a result of `7` was recorded as `7`, now
`"7"`.
([#821](https://github.com/open-telemetry/opentelemetry-python-genai/pull/821))

### Fixed

- Record `gen_ai.response.finish_reasons` on `dspy.ReAct` and `dspy.ReActV2`
agent spans regardless of content capture.
([#885](https://github.com/open-telemetry/opentelemetry-python-genai/pull/885))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,63 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Added

- Capture prompt template name - `gen_ai.prompt.name` and variables -
`gen_ai.prompt.variable.<key>` on chat
([#730](https://github.com/open-telemetry/opentelemetry-python-genai/pull/730))

### Changed

- Require `langchain >= 0.3.22`. Context propagation across LangGraph nodes
requires LangGraph 0.3.18 or later.
([#818](https://github.com/open-telemetry/opentelemetry-python-genai/pull/818))
([#884](https://github.com/open-telemetry/opentelemetry-python-genai/pull/884))

### Fixed

- langchain: record `message.tool_calls` on the output message even when the
provider spells the stop reason differently (e.g. ChatOllama `done_reason`)
instead of dropping them
([#771](https://github.com/open-telemetry/opentelemetry-python-genai/pull/771))
- Set `gen_ai.conversation.id` on agents created without a name, and pass the
conversation id to child spans through the OTel context.
([#798](https://github.com/open-telemetry/opentelemetry-python-genai/pull/798))
- Fix context propagation to nested calls across tasks and threads, and
finalize chat spans when async calls are cancelled or interrupted.
([#818](https://github.com/open-telemetry/opentelemetry-python-genai/pull/818))
- Record the tool call result when a tool is invoked without a tool call id.
Previously the result was dropped because LangChain passes the raw return
value instead of a `ToolMessage`, e.g. `weather.invoke({"city": "Paris"})`
returning `{"temp": 20}` recorded no result, now `{"temp":20}`.
([#821](https://github.com/open-telemetry/opentelemetry-python-genai/pull/821))
- Stop logging `AttributeError` warnings when LangGraph dispatches interrupt
and resume callbacks.
([#835](https://github.com/open-telemetry/opentelemetry-python-genai/pull/835))
- Record assistant messages given as role/content dicts or `(role, content)`
tuples in workflow and agent `gen_ai.output.messages` instead of dropping
them, and keep convertible messages when another entry in the list cannot be
converted.
([#881](https://github.com/open-telemetry/opentelemetry-python-genai/pull/881))
- Reduce message conversion when capturing workflow and agent
`gen_ai.output.messages`.
([#909](https://github.com/open-telemetry/opentelemetry-python-genai/pull/909))
- Stop cached callback managers from recording new runs after uninstrumentation
and refresh inactive handlers on reinstrumentation, including direct callback
dispatch.
([#924](https://github.com/open-telemetry/opentelemetry-python-genai/pull/924))
- Record Anthropic cache-write input tokens reported by langchain-anthropic as
per-TTL `ephemeral_*_input_tokens` breakdowns.
([#937](https://github.com/open-telemetry/opentelemetry-python-genai/pull/937))
- Read finish reasons from response metadata when generation info does not
provide a finish reason
([#944](https://github.com/open-telemetry/opentelemetry-python-genai/pull/944))
- Skip input message processing for unnamed agents when content capture is
disabled.
([#945](https://github.com/open-telemetry/opentelemetry-python-genai/pull/945))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Changed

- Record non-string tool call results as JSON strings, and convert objects
through `model_dump` or `__dict__`. Previously primitives were recorded as-is
and objects through `str()`, e.g. a result of `8` was recorded as `8`, now
`"8"`.
([#821](https://github.com/open-telemetry/opentelemetry-python-genai/pull/821))

### Fixed

- Preserve span handler state on LlamaIndexInstrumentor singleton
re-instantiation.
([#869](https://github.com/open-telemetry/opentelemetry-python-genai/pull/869))

## Version 1.2b0 (2026-09-24)

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ See https://github.com/open-telemetry/opentelemetry-python-genai/blob/main/CONTR

<!-- changelog start -->

## Version 1.3b0 (2026-10-23)

### Changed

- Record tool call arguments as compact JSON for any valid JSON input and
non-string results as JSON. Previously only JSON objects were normalized and
results went through `str()`, e.g. arguments `[1, 2]` were recorded as `[1,
2]`, now `[1,2]`; `null` arguments are no longer recorded.
([#821](https://github.com/open-telemetry/opentelemetry-python-genai/pull/821))

### Fixed

- Preserve processor state on OpenAIAgentsInstrumentor singleton
re-instantiation.
([#869](https://github.com/open-telemetry/opentelemetry-python-genai/pull/869))

## Version 1.2b0 (2026-09-24)

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.3b0.dev"
__version__ = "1.3b0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading