Notes
This release of the Python agent adds support for Google Gemini via the Google Generative AI SDK and instruments new Kinesis methods.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add support for Google Gemini via Google Generative AI SDK
- Adds support for google-genai. The agent will automatically instrument
embed_content
calls for synchronous and asynchronous embeddings. The agent also now supports synchronous and asynchronous text generations for text inputs in non-streaming cases. This includes calls made togenerate_content
for single text-only inputs and calls tosend_message
for multi-turn conversations.
- Adds support for google-genai. The agent will automatically instrument
Instrument new AWS Kinesis methods
- Adds botocore instrumentation to support new AWS Kinesis methods including
tag_resource
,untag_resource
, andlist_tags_for_resource
.
- Adds botocore instrumentation to support new AWS Kinesis methods including
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
이번 끌어 당기는 에이전트 릴리스에는 Google 생성형 AI SDK 및 축소된 새로운 Kinesis 메서드를 통해 Google Gemini에 대한 지원이 추가되었습니다.
끌어오기 패키지 색인을 통해 easy_install/pip/distribute
사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.
새로운 기능
Google 생성형 AI SDK를 통해 Google Gemini에 대한 지원을 추가합니다.
- google-생성형 AI 에 대한 지원을 추가합니다. 에이전트는 자동으로 동기 및 부품 임베딩을 위해
embed_content
호출을 수행합니다. 이제 에이전트는 스트리밍이 아닌 경우 텍스트 입력에 대한 동기 및 비동기 텍스트 생성을 지원합니다. 여기에는 단일 텍스트 전용 입력을 위한generate_content
에 대한 호출과 다중 턴 대화를 위한send_message
에 대한 호출이 포함됩니다.
- google-생성형 AI 에 대한 지원을 추가합니다. 에이전트는 자동으로 동기 및 부품 임베딩을 위해
새로운 AWS Kinesis 메서드를 사용하세요
지지 성명
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.
Notes
This release of the Python agent adds support for async elasticsearch, fixes a graphql configuration parsing issue, fixes a bug in the Kombu instrumentation and re-enables the Kombu instrumentation.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add async support for elasticsearch
- Adds support for async elasticsearch. Thanks fagnerzulin for the contribution!
Bug fixes
Add parsing of graphql config setting
- Previously, when the setting
instrumentation.graphql.capture_introspection_queries
was set in the config file, this setting did not take effect. This has been fixed.
- Previously, when the setting
Fix crash in Kombu when running with Sentry
- Fixes a crash in Kombu instrumentation where a
TypeError
was raised from theinspect
module. This bug was due to a conflict in wrapping between New Relic and Sentry. The Kombu instrumentation has also been re-enabled.
- Fixes a crash in Kombu instrumentation where a
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
이번 릴리스 에이전트에서는 async elasticsearch 에 대한 지원을 추가하고, graphql 설정 구문 분석 문제를 수정하고, Kombu 측정 로그의 버그를 수정하고, Kombu 측정 도구를 다시 활성화합니다.
끌어오기 패키지 색인을 통해 easy_install/pip/distribute
사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.
새로운 기능
elasticsearch에 비동기 지원 추가
- 비동기 elasticsearch 에 대한 지원을 추가합니다. fagnerzulin 님, 기여해 주셔서 감사합니다!
버그 수정
graphql 설정 파싱 추가
- 이전에는 설정 파일에서
instrumentation.graphql.capture_introspection_queries
설정이 지정되었을 때 이 설정이 적용되지 않았습니다. 이 문제는 해결되었습니다.
- 이전에는 설정 파일에서
Sentry로 Kombu를 실행할 때 발생하는 충돌 수정
inspect
모듈에서TypeError
이 발생한 Kombu 측정, 과학적 충돌을 수정했습니다. 이 버그는 뉴렐릭과 센트리 간의 래핑 충돌로 인해 발생했습니다. Kombu 측정, 로그도 다시 활성화되었습니다.
지지 성명
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.
Notes
This release of the Python agent adds OpenTelemetry compatible datastore span attribute names, fixes a bug in LangChain instrumentation, and temporarily disables Kombu instrumentation.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add OpenTelemetry compatible datastore span attributes
- The datastore span attributes are now more consistent with OpenTelemetry naming conventions
Bug fixes
Fix LangChain instrumentation for string response types
- Previously, when LangChain returned string-type responses, the agent only captured the first character of the string. This has been corrected.
Disable Kombu instrumentation
- Existing Kombu instrumentation in the agent is crashing with a
TypeError
being raised from theinspect
module. This instrumentation has been temporarily disabled and will be re-enabled in a future release once the root cause of the crash is identified and patched.
- Existing Kombu instrumentation in the agent is crashing with a
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
이번 릴리스 에이전트는 OpenTelemetry 호환 데이터 스토어 범위 속성 이름을 추가하고 LangChain 측정, 도구의 버그를 수정하고 Kombu , 측정 리소스를 일시적으로 비활성화합니다.
끌어오기 패키지 색인을 통해 easy_install/pip/distribute
사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.
새로운 기능
OpenTelemetry 호환 데이터스토어 범위 속성 추가
- 데이터스토어 범위 속성은 이제 OpenTelemetry 명명 규칙과 더욱 일치합니다.
버그 수정
문자열 응답 유형에 대한 LangChain 측정, 로그 수정
- 이전에는 LangChain이 문자열 유형의 응답을 반환하면 에이전트는 문자열의 첫 번째 문자만 캡처했습니다. 이 문제는 수정되었습니다.
Kombu 측정, 계측 비활성화
- 기존 Kombu 측정, 에이전트의 리소스가
inspect
모듈에서 발생하는TypeError
와 충돌합니다. 이 측정, 계측은 일시적으로 비활성화되었으며, 충돌의 근본 원인이 확인되고 패치가 적용되면 향후 릴리스에서 다시 활성화될 예정입니다.
- 기존 Kombu 측정, 에이전트의 리소스가
지지 성명
최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.
에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.
Notes
This release of the Python agent fixes a bug with the latest Kombu instrumentation.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
Bug fixes
Fix import error in Kombu instrumentation
- A missing import in Kombu's instrumentation resulted in a crash for those using the instrumentation. This has now been fixed.
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
This release of the Python agent adds support for Kombu, mysqlclient, PyMySQL, and adds a few safeguards to prevent exceptions.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add support for Kombu
- Add support for producer and consumer message tracing in Kombu.
- In the case where Celery and Kombu are used together, a transaction is produced for both Celery and Kombu message consumption and Kombu consumer tracing is turned off by default. It can be enabled via the
instrumentation.kombu.consumer.enabled
setting. A new settinginstrumentation.kombu.ignored_exchanges
to ignore certain exchanges was also added and by default it ignores the celeryev queue which is a monitoring queue.
Add support for mysqlclient (a MySQLdb fork for Python 3)
- Instrumentation for the Python 2 library MySQLdb has been adapted to support the Python 3 fork mysqlclient.
Update instrumentation for PyMySQL for versions 1.0.3 and above
- Instrumentation for PyMySQL has been updated for newer versions of the library, and versions below 1.0.3 are no longer supported.
Bug fixes
Safeguard startup of agent healthchecks against exceptions
- Previously, the agent healthchecks could raise exceptions during startup, potentially resulting in agent crashes. This has been fixed.
Fix warning message around garbage collection runtime metrics sampler
- Previously, a warning message was sometimes emitted which was related to the garbage collection runtime metrics sampler. This has been fixed.
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
This release of the Python agent adds support for asynchronous AWS Bedrock LLM calls in aioboto3, a fix for a segfault with greenlets, a fixed a crash in aiomysql instrumentation, and reformatted the codebase with Ruff.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add support for asynchronous AWS Bedrock LLM calls
- Adds instrumentation to support calls to
invoke_model
andinvoke_model_with_response_stream
made on aioboto3 clients
- Adds instrumentation to support calls to
Bug fixes
Fix crash in
aiomysql
instrumentation- Previously, using
aiomysql.sa
(the includedsqlalchemy
engine) with the agent would result in a crash due to a missing__await__
method in the instrumentation. This has been corrected.
- Previously, using
Fix segfaults with greenlets
- Previously, a segfault occured when the maximum number of worker processes were called. This was due to a combination of using a weak reference for the agent's trace ID caching and greenlet's
greenlet.getcurrent()
retrieval function being called after the last greenlet has already been garbage collected. This fix allows the worker process to restart without the segfault occurring.
- Previously, a segfault occured when the maximum number of worker processes were called. This was due to a combination of using a weak reference for the agent's trace ID caching and greenlet's
Changes
Reformatted entire codebase with Ruff
- Switched to Ruff linter and reformatted the entire codebase.
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Notes
This release of the Python agent adds entity linking for AWS Kinesis and AWS Firehose in boto3
and botocore
.
Install the agent using easy_install/pip/distribute
via the Python Package Index or download it directly from the New Relic download site.
New features
Add entity linking attributes for AWS Kinesis and AWS Firehose when using
boto3
andbotocore
.- Adds attributes linking distributed traces with AWS Kinesis and AWS Firehose entities in the New Relic UI.
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.