Support passing tracer provider in aiohttp server instrumentation lib (#3819)
* allow to pass tracer_provider when instrumenting aiohttp server
* minor fix
* add note to indicate backwards compatibility
* small fix
* add test
* update changelog
* Only decode JSON input buffer in Anthropic Claude streaming (#3875)
* Only decode JSON input buffer in Anthropic Claude streaming
_decode_tool_use was only used when _tool_json_input_buf was found, but we were decoding the entire _content_block after adding _tool_json_input_buf to it. The _content_block overall which could contain non-JSON elements (e.g. {}), causing failures. To fix this, we have removed _decode_tool_use helper function and inlined JSON decoding logic directly into content_block_stop handler in _process_anthropic_claude_chunk, where we only use it to decode _tool_json_input_buf before appending to _content_block.
* Update test_botocore_bedrock.py
Fix lint: `opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py:2990:4: C0415: Import outside toplevel (opentelemetry.instrumentation.botocore.extensions.bedrock_utils.InvokeModelWithResponseStreamWrapper) (import-outside-toplevel)`
* Update test_botocore_bedrock.py
Remove extra line
* fix lint issue
* aiohttp-client: add support for url exclusions (#3850)
* Stop using deprecated span.instrumentation_info
* aiohttp-client: add support for OTEL_PYTHON_EXCLUDED_URLS / OTEL_PYTHON_HTTPX_EXCLUDED_URLS
* Add docs
* Add changelog
* Please lint
* Update CHANGELOG.md
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
* Test for both env vars
* Assert at each iteration
---------
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
* update changelog
* @tammy-baylis-swi add link to PR
* create factory for instrumented application
* run precommit hooks
* update readthedocs
* cleanup changelog after merge conflicts
* make pre-commit happy
* @tammy-baylis-swi add comment about optional inputs
* fix issues caused by merge
* precommit hooks
* fix typehints
* sort imports
* @xrmx removed assert
* Apply suggestions from code review
---------
Co-authored-by: Thomas Pierce <thp@amazon.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com> M
Mads Bisgaard committed
77373f822325faf3a9ec7d38cea6ac07ec01d494
Parent: a986d25
Committed by GitHub <noreply@github.com>
on 12/22/2025, 1:48:54 PM