Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

-Add `gen_ai.usage.reasoning.output_tokens` attribute to capture thinking tokens on spans/events when the experimental sem conv flag is set. Add thinking tokens to output tokens. ([#4313](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4313))
-Add `gen_ai.usage.cache_read.input_tokens` attribute to capture cached tokens on spans/events when the experimental sem conv flag is set. ([#4313](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4313))
-Refactor code to make use of the shared GenAi Utils package. This shared package is used by multiple GenAI instrumentations, and ensures sem convs are followed and up to date. This does result in some span attributes on the `execute_tool` span being removed (`code.function.parameters.someparam.type`, `code.function.parameters.someparam.value` etc.), and other sem conv compliant attributes being added ti the span (specifically: `gen_ai.tool.call.arguments`, `gen_ai.tool.call.result` etc.), it also correctly changes the `SpanKind` from `INTERNAL` to `CLIENT`. The `generate_content` span also is switched to `SpanKind` `CLIENT`, and the `gen_ai.provider.name` attribute which was missing has been added, it's value is `vertex_ai`. The `InstrumentationScope` of the log and trace will also change, as the `TelemetryHandler` class in the utils package is now used to write the logs and traces. ([#4571](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4571)).

## Version 0.7b0 (2026-02-20)
- Fix bug in how tokens are counted when using the streaming `generateContent` method. ([#4152](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4152)).
Expand Down
Loading
Loading