• EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Python agent v9.13.0

August 8, 2024Download

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 the upload_file operation in boto3.
  • Add support for new Redis commands

    • Add instrumentation for the following commands in Redis:
      • hexpire
      • hexpireat
      • hexpiretime
      • hpersist
      • hpexpire
      • hpexpireat
      • hpexpiretime
      • hpttl
      • httl
  • 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_sqs
      • cloud.region - AWS region
      • cloud.account.id - AWS account ID
      • messaging.destination.name - AWS queue name
  • Add server.address attribute to RabbitMQ:

    • Add server.address attribute to RabbitMQ, allowing the UI to link AWS information with AWS MQ.

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 the MessageTrace.

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.

Copyright © 2024 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.