Added
opentelemetry-instrumentation-psycopg2,opentelemetry-instrumentation-psycopg: Add sqlcommenter support forinstrument_connection(#4267)opentelemetry-instrumentation-fastapi: Document auto-instrumentation setup and HTTP/WebSocket trace propagationopentelemetry-instrumentation: Include the instrumentation README in API docs (#4555)opentelemetry-instrumentation-botocore: capture Bedrock prompt cache token usage forconverseandconverse_streamAPI (#4615)opentelemetry-instrumentation-fastapi: advertise inline type annotations (#4685)opentelemetry-instrumentation-kafka-python: Update kafka python instrumentation to support kafka-python>=3 (#4786)opentelemetry-instrumentation-mysql: add semantic convention stability opt-in mode tests (#4810)opentelemetry-instrumentation-aiopg: Add DB client operation duration and returned rows metrics. (#4826)opentelemetry-instrumentation-httpx: support strict typing (#4833)opentelemetry-instrumentation-mysqlclient: add semantic convention stability opt-in mode tests (#4834)opentelemetry-instrumentation-pymysql: add semantic convention stability opt-in mode tests (#4835)opentelemetry-instrumentation-sqlite3: add semantic convention stability opt-in mode tests (#4836)opentelemetry-instrumentation-psycopg: add semantic convention stability opt-in mode tests (#4838)- infra: add validation for changelog file format (#4856)
opentelemetry-instrumentation-aio-pika: bump maximum admissible aio-pika version to 11.0.0 (#4998)
Changed
opentelemetry-instrumentation: clarify dependency conflict messages, in logs and inDependencyConflictError, and promote auto-instrumentation version conflict logs to error level (#5025)
Removed
opentelemetry-instrumentation-kafka-python: drop support for the deprecatedkafka-python-ngfork now thatkafka-pythonis actively maintained again (#4839)opentelemetry-instrumentation-kafka-python: remove unusedKafkaPropertiesExtractor.extract_send_keyandKafkaPropertiesExtractor.extract_send_valuehelpers (#4858)opentelemetry-instrumentation-anthropic,opentelemetry-instrumentation-claude-agent-sdk,opentelemetry-instrumentation-langchain,opentelemetry-instrumentation-weaviate: removed from this repository; these instrumentations now live in and are maintained from the opentelemetry-python-genai repository (#4903)
Fixed
opentelemetry-instrumentation-aws-lambda: support ALB multiValueHeaders (#4605)opentelemetry-instrumentation-redis: extractClusterPipelinecommands from_execution_strategyin redis-py 6+ so pipeline span attributes include the queued commands instead of being empty (#4728)opentelemetry-instrumentation-aiopg: fix connection metadata for manual instrumentation (#4821)opentelemetry-instrumentation-redis: treat explicitdb=Noneas database index 0 (#4828)opentelemetry-instrumentation-aws-lambda: use the correct camel case when accessing the SQS message attributes (#4831)opentelemetry-instrumentation-botocore: Restore PyPy test coverage. (#4841)opentelemetry-instrumentation-botocore: don't emit error status on 3xx ClientError responses (#4851)opentelemetry-instrumentation-kafka-python: record the actualmessaging.kafka.partitionread back from the producersend()future, instead of a pre-computed estimate that did not match the delivered partition for randomly-partitioned messages (#4858)opentelemetry-instrumentation-logging: Promote otel.event.name to LogRecord.event_name in _translate (#4864)opentelemetry-instrumentation-grpc: respect suppressed instrumentation in server interceptors (#4870)opentelemetry-instrumentation-logging: Import code_attributes from stable semconv package (#4873)opentelemetry-instrumentation-asyncio: fixto_threadinstrumentation so spans and duration metrics measure the actual function execution instead of ending immediately, repeated calls of the same function are all recorded instead of only the first one, and failures are recorded with the samestatevalues (exception,timeout,cancelled) as the coroutine and future paths; theAsyncioInstrumentor.trace_to_threadmethod is renamed toAsyncioInstrumentor.wrap_to_thread_functo reflect that it now returns a wrapper (#4901)opentelemetry-instrumentation-logging: fix documented name of the code attributes env var toOTEL_PYTHON_LOG_CODE_ATTRIBUTES(#4912)opentelemetry-instrumentation-psycopg: avoidIndexErroringet_operation_namefor comment-only or whitespace-only Composed statements (#4936)opentelemetry-instrumentation-psycopg2: avoidIndexErroringet_operation_namefor comment-only or whitespace-only statements (#4942)opentelemetry-instrumentation-sqlalchemy: avoidIndexErrorin_operation_namefor comment-only or whitespace-only statements (#4943)opentelemetry-instrumentation-mysql: support mysql-connector-python 26.7.0 and later (#4951)opentelemetry-util-http: stop_parse_url_queryraising on unparsable urls (#4965)opentelemetry-instrumentation-asyncio: fix metric name and future example in module docs (#5083)opentelemetry-instrumentation-pymemcache: honor instrumentation suppression (#5086)opentelemetry-instrumentation-asyncpg: honor instrumentation suppression (#5087)opentelemetry-propagator-ot-trace: cap ot-baggage-* entries on extract and inject (#5098)