Releases: open-telemetry/opentelemetry-python-contrib
Releases · open-telemetry/opentelemetry-python-contrib
Version 1.38.0/0.59b0
Fixed
opentelemetry-instrumentation-flask
: Do not recordhttp.server.duration
metrics for excluded URLs. (#3794)opentelemetry-instrumentation-botocore
: migrate off the deprecated events API to use the logs API (#3624)opentelemetry-instrumentation-dbapi
: fix crash retrieving libpq version when enabling commenter with psycopg (#3796)opentelemetry-instrumentation-fastapi
: Fix handling of APIRoute subclasses (#3681)
Added
opentelemetry-instrumentation-botocore
: Add support for AWS Secrets Manager semantic convention attribute (#3765)opentelemetry-instrumentation-dbapi
: Add support forcommenter_options
intrace_integration
function to control SQLCommenter behavior (#3743)- Add
rstcheck
to pre-commit to stop introducing invalid RST (#3777) opentelemetry-exporter-credential-provider-gcp
: create this package which provides support for supplying your machine's Application Default Credentials (https://cloud.google.com/docs/authentication/application-default-credentials) to the OTLP Exporters created automatically by OpenTelemetry Python's auto instrumentation. These credentials authorize OTLP traces to be sent totelemetry.googleapis.com
. #3766.opentelemetry-instrumentation-psycopg
: Add missing parametercapture_parameters
to instrumentor. (#3676)opentelemetry-instrumentation-dbapi
: Adds sqlcommenter to documentation. (#3720)
opentelemetry-instrumentation-vertexai 2.1b0
- Update instrumentation to use the latest semantic convention changes made in open-telemetry/semantic-conventions#2179. Now only a single event and span (
gen_ai.client.inference.operation.details
) are used to capture prompt and response content. These changes are opt-in, users will need to set the environment variable OTEL_SEMCONV_STABILITY_OPT_IN togen_ai_latest_experimental
to see them (#3799) and (#3709). Update instrumentation to call upload hook. - Implement uninstrument for
opentelemetry-instrumentation-vertexai
(#3328) - VertexAI support for async calling (#3386) - Migrate off the deprecated events API to use the logs API (#3625) - Update
gen_ai_latest_experimental
instrumentation to record files being passed to the model (#3840).
opentelemetry-instrumentation-google-genai 0.4b0
- Implement the new semantic convention changes made in open-telemetry/semantic-conventions#2179. A single event (
gen_ai.client.inference.operation.details
) is used to capture Chat History. This is opt-in, an environment variable OTEL_SEMCONV_STABILITY_OPT_IN needs to be set togen_ai_latest_experimental
to see them (#3386) - Support CompletionHook for upload to cloud storage.
opentelemetry-util-genai 0.2b0
- Add jsonlines support to fsspec uploader (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3791)
- Rename "fsspec_upload" entry point and classes to more generic "upload" (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3798)
- Record content-type and use canonical paths in fsspec genai uploader (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3795)
- Make inputs / outputs / system instructions optional params to
on_completion
, (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3802). - Use a SHA256 hash of the system instructions as it's upload filename, and check if the file exists before re-uploading it, (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3814).
opentelemetry-instrumentation-openai-agents-v2 0.1.0
opentelemetry-util-genai 0.1b0
-
Add completion hook to genai utils to implement semconv v1.37.
Includes a hook implementation using
fsspec
to support uploading to various pluggable backends. -
Add a utility to parse the
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
environment variable. Addgen_ai_latest_experimental
as 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-tornado
Fix 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.detach
withNone
token. (#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-asgi
Fixed 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-genai
Add a utility to parse theOTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
environment variable. Addgen_ai_latest_experimental
as a new value to the Sem Conv stability flag (#3716).opentelemetry-instrumentation-confluent-kafka
Add support for confluent-kafka <=2.11.0 (#3685)opentelemetry-instrumentation-system-metrics
: Addcpython.gc.collected_objects
andcpython.gc.uncollectable_objects
metrics (#3666)opentelemetry-sdk-extension-aws
Add AWS X-Ray Remote Sampler with initial Rules Poller implementation (#3366)opentelemetry-instrumentation
: add support forOTEL_PYTHON_AUTO_INSTRUMENTATION_EXPERIMENTAL_GEVENT_PATCH
to 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-pika
Added instrumentation for AllSelectConnection
adapters (#3584)opentelemetry-instrumentation-tornado
Add support forWebSocketHandler
instrumentation (#3498)opentelemetry-util-http
Added support for redacting specific url query string values and url credentials in instrumentations (#3508)opentelemetry-instrumentation-pymongo
aggregate
andgetMore
capture statements support (#3601)
Fixed
opentelemetry-instrumentation-google-genai 0.3b0
- Add automatic instrumentation to tool call functions (#3446)