[chore] Sync OpenTelemetry upstream main.#78
Merged
Cirilla-zmh merged 5 commits intomainfrom Dec 4, 2025
Merged
Conversation
* add defensive check for from_converse response * add defensive check for from_converse response * Update instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions/bedrock_utils.py * Update CHANGELOG.md * add comment for malformed repsonses in from_converse * merge suggested changes * fix botocore converse stream test * lint fix * Update instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py * add defensive check just in case content doesn't exist in orig_message * lint fix * new line --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
* add metrics to genai utils * add Instruments class for GenAI metrics and refactor metric recording * refactor: streamline metric payload handling in InvocationMetricsRecorder * fix: grammar * doc: added changelog * fix: update version for semconvs * Lint fixes * Fix Nits, remove overly defensive code * Add monotonic timing support for LLM invocation duration calculations * small cleanups to types to simplify code * cleanup test * Simplify histogram duration time calculations * Remove unused constants and helper function * Refactor histogram creation to use standalone functions instead of a class --------- Co-authored-by: aaronabbott <aaronabbott@google.com>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Common change logs
Fixed
opentelemetry-instrumentation-botocore: bedrock: Add safety check for bedrock ConverseStream responses(#3990)
genai-util change logs
(https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3891)