Releases: open-telemetry/opentelemetry-python-contrib
Releases · open-telemetry/opentelemetry-python-contrib
opentelemetry-util-genai 0.1b0
-
Add completion hook to genai utils to implement semconv v1.37.
Includes a hook implementation using
fsspecto support uploading to various pluggable backends. -
Add a utility to parse the
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENTenvironment variable. Addgen_ai_latest_experimentalas a new value to the Sem Conv stability flag (#3716).
Version 1.37.0/0.58b0
Fixed
opentelemetry-instrumentation-fastapi: Fix middleware ordering to cover all exception handling use cases. (#3664)opentelemetry-instrumentation-asgi: Make all user hooks failsafe and record exceptions in hooks. (#3664)opentelemetry-instrumentation-fastapi: Fix memory leak inuninstrument_app()by properly removing apps from the tracking set (#3688)opentelemetry-instrumentation-tornadoFix server (request) duration metric calculation (#3679)opentelemetry-instrumentation-tornado: Fix to properly skip all server telemetry when URL excluded. (#3680)opentelemetry-instrumentation: Avoid calls tocontext.detachwithNonetoken. (#3673)opentelemetry-instrumentation-starlette/opentelemetry-instrumentation-fastapi: Fixes a crash when host-based routing is used (#3507)- Fix documentation order of sections and headers for Django, Flask, MySQL, mysqlclient, psycopg, psycopg2, pymysql, sqlalchemy instrumentations. (#3719)
opentelemetry-instrumentation-asgiFixed an issue where FastAPI reports IP instead of URL. (#3670)opentelemetry-instrumentation-httpx: fix missing metric response attributes when tracing is disabled (#3615)opentelemetry-instrumentation-fastapi: Don't pass bounded server_request_hook when usingFastAPIInstrumentor.instrument()(#3701)
Added
opentelemetry-util-genaiAdd a utility to parse theOTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENTenvironment variable. Addgen_ai_latest_experimentalas a new value to the Sem Conv stability flag (#3716).opentelemetry-instrumentation-confluent-kafkaAdd support for confluent-kafka <=2.11.0 (#3685)opentelemetry-instrumentation-system-metrics: Addcpython.gc.collected_objectsandcpython.gc.uncollectable_objectsmetrics (#3666)opentelemetry-sdk-extension-awsAdd AWS X-Ray Remote Sampler with initial Rules Poller implementation (#3366)opentelemetry-instrumentation: add support forOTEL_PYTHON_AUTO_INSTRUMENTATION_EXPERIMENTAL_GEVENT_PATCHto inform opentelemetry-instrument about gevent monkeypatching (#3699)opentelemetry-instrumentation: botocore: Add support for AWS Step Functions semantic convention attributes (#3737)opentelemetry-instrumentation-botocore: Add support for SNS semantic convention attribute aws.sns.topic.arn (#3734)opentelemetry-instrumentation: botocore: upgrade moto package from 5.0.9 to 5.1.11 (#3736)
Version 1.36.0/0.57b0
Fixed
opentelemetry-instrumentation: Fix dependency conflict detection when instrumented packages are not installed by moving check back to before instrumentors are loaded. Add "instruments-any" feature for instrumentations that target multiple packages. (#3610)- infra(ci): Fix git pull failures in core contrib test (#3357)
Added
Version 1.35.0/0.56b0
Added
opentelemetry-instrumentation-pikaAdded instrumentation for AllSelectConnectionadapters (#3584)opentelemetry-instrumentation-tornadoAdd support forWebSocketHandlerinstrumentation (#3498)opentelemetry-util-httpAdded support for redacting specific url query string values and url credentials in instrumentations (#3508)opentelemetry-instrumentation-pymongoaggregateandgetMorecapture statements support (#3601)
Fixed
opentelemetry-instrumentation-google-genai 0.3b0
- Add automatic instrumentation to tool call functions (#3446)
Version 1.34.1/0.55b1
This is a patch release on the previous 1.34.0/0.55b0 release, fixing the issue(s) below.
Version 1.34.0/0.55b0
Added
opentelemetry-instrumentation-aiokafkaAdd instrumentation ofconsumer.getmany(batch) (#3257)
Fixed
opentelemetry-instrumentation-system-metrics: fix loading on Google Cloud Run (#3533)opentelemetry-instrumentation-fastapi: fix wrapping of middlewares (#3012)opentelemetry-instrumentation-starletteRemove max version constraint on starlette (#3456)opentelemetry-instrumentation-starletteFix memory leak and double middleware (#3529)opentelemetry-instrumentation-urllib3: proper bucket boundaries in stable semconv http duration metrics (#3518)opentelemetry-instrumentation-urllib: proper bucket boundaries in stable semconv http duration metrics (#3519)opentelemetry-instrumentation-falcon: proper bucket boundaries in stable semconv http duration (#3525)opentelemetry-instrumentation-wsgi: add explicit http duration buckets for stable semconv (#3527)opentelemetry-instrumentation-asgi: add explicit http duration buckets for stable semconv (#3526)opentelemetry-instrumentation-flask: proper bucket boundaries in stable semconv http duration (#3523)opentelemetry-instrumentation-django: proper bucket boundaries in stable semconv http duration (#3524)opentelemetry-instrumentation-grpc: support non-list interceptors (#3520)opentelemetry-instrumentation-botocoreEnsure spans end on early stream closure for Bedrock Streaming APIs (#3481)opentelemetry-instrumentation-sqlalchemyRespect suppress_instrumentation functionality (#3477)opentelemetry-instrumentation-botocore: fix handling of tool input in Bedrock ConverseStream (#3544)opentelemetry-instrumentation-botocoreAdd type check when extracting tool use from Bedrock request message content (#3548)opentelemetry-instrumentation-dbapiRespect suppress_instrumentation functionality (#3460)opentelemetry-resource-detector-containerCorrectly parse container id when using systemd and cgroupsv1 (#3429)
Breaking changes
opentelemetry-instrumentation-botocoreUsecloud.regioninstead ofaws.regionspan attribute as per semantic conventions. (#3474)opentelemetry-instrumentation-fastapi: Drop support for FastAPI versions earlier than0.92(#3012)opentelemetry-resource-detector-container: rename package name toopentelemetry-resource-detector-containerid(#3536)
Added
opentelemetry-instrumentation-aiohttp-clientAdd support for HTTP metrics (#3517)opentelemetry-instrumentation-httpxAdd support for HTTP metrics (#3513)opentelemetry-instrumentationAllow re-raising exception when instrumentation fails (#3545)
Deprecated
- Drop support for Python 3.8, bump baseline to Python 3.9. (#3399)
Version 1.33.1/0.54b1
This is a patch release on the previous 1.33.0/0.54b0 release, fixing the issue(s) below.
Version 1.33.0/0.54b0
Added
opentelemetry-instrumentation-requestsSupport explicit_bucket_boundaries_advisory in duration metrics (#3464)opentelemetry-instrumentation-redisAdd support for redis client-specific instrumentation. (#3143)
Fixed
opentelemetry-instrumentationCatchModuleNotFoundErrorwhen the library is not installed and log as debug instead of exception (#3423)opentelemetry-instrumentation-asyncioFix duplicate instrumentation (#3383)opentelemetry-instrumentation-botocoreAdd GenAI instrumentation for additional Bedrock models for InvokeModel API (#3419)opentelemetry-instrumentationdon't print duplicated conflict log error message (#3432)opentelemetry-instrumentation-grpcCheck for None result in gRPC (#3380)opentelemetry-instrumentation-[asynclick/click]Add missing opentelemetry-instrumentation dep (#3447)opentelemetry-instrumentation-botocoreCapture server attributes for botocore API calls (#3448)