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.