You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: propagate custom genai generate_content attributes to logs, in addition to spans (#4103)
* feat propagate custom genai generate_content attributes to logs in addition to spans
* Put the extra attributes on logs that follow the old semanting convention as well
* Use dict[str, AttributeValue] instead of dict[str, Any]
* Revert "Put the extra attributes on logs that follow the old semanting convention as well"
This reverts commit 72a5c99.
* Update CHANGELOG.md
* Fix lint
---------
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-google-genai/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
## Unreleased
9
9
10
10
- Enable the addition of custom attributes to the `generate_content {model.name}` span via the Context API. ([#3961](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3961)).
11
+
- Enable the addition of custom attributes to `gen_ai.client.inference.operation.details` log events ([#4103](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4103)).
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Copy file name to clipboardExpand all lines: instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/generate_content/nonstreaming_base.py
0 commit comments