Notes
This release of the Python agent adds the following:
- Support for boto3's
upload_file
command - Support for newly added Redis commands
- AWS SQS information on spans
server.address
attribute on RabbitMQ
This release also fixes an issue with OpenAI's client instrumentation and missing parameters in Botocore SQS.
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 instrumentation for
upload_file
in boto3- Add instrumentation to the s3transfer
BoundExecutor
submit function, allowing the agent to support theupload_file
operation in boto3.
- Add instrumentation to the s3transfer
Add support for new Redis commands
- Add instrumentation for the following commands in Redis:
- hexpire
- hexpireat
- hexpiretime
- hpersist
- hpexpire
- hpexpireat
- hpexpiretime
- hpttl
- httl
- Add instrumentation for the following commands in Redis:
Capture AWS SQS information on message spans:
- The Python Agent now captures the following AWS SQS information on message spans, allowing the UI to link AWS information with AWS SQS:
messaging.system
- aws_sqscloud.region
- AWS regioncloud.account.id
- AWS account IDmessaging.destination.name
- AWS queue name
- The Python Agent now captures the following AWS SQS information on message spans, allowing the UI to link AWS information with AWS SQS:
Add
server.address
attribute to RabbitMQ:- Add
server.address
attribute to RabbitMQ, allowing the UI to link AWS information with AWS MQ.
- Add
Bug fixes
Fix TypeError in OpenAI instrumentation:
- Newer versions of OpenAI include an additional argument, resulting in an error with the base client instrumentation. This has been fixed.
Fix missing parameters in
MessageTrace
:- Resolved issue where parameters were not being passed from the
MessageTraceWrapper
to theMessageTrace
.
- Resolved issue where parameters were not being passed from the
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.