• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Python agent release notesRSS

September 4
Python agent v10.17.0

Notes

This release of the Python agent adds support for the following:

This release also provides the following fixes:

  • Safeguards for the deepest unique path in GraphQL
  • Safeguards for web URL request parsing
  • Fallback for ElasticSearch and GraphQL when trace.settings==None
  • Remove options method from async ElasticSearch client list

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

  • Adds support for custom tasks in Celery

    • Add monitoring support for custom task classes in Celery. Previously, only tasks using the default task class were able to be monitored. Note: This version of the Python agent will no longer support Celery versions less than v5.2.0.
  • Adds support for Graphene-Django

    • Add monitoring support for synchronous schemas created with Graphene-Django. Previously, schemas created with Graphene-Django would only be partially monitored, resulting in missing GraphQL related attributes.
  • Adds support for middleware filtering in Django

    • Users are now able to filter which Django middleware to monitor. There are now three additional settings:

      • instrumentation.middleware.django.enabled (Default is true)
      • instrumentation.middleware.django.exclude
      • instrumentation.middleware.django.include

    See the Django Middleware Filtering page for more information and examples.

  • Adds support for AWS Bedrock Converse API

    • Add monitoring support for non-streaming Converse API. This includes support for converse chat completion calls made using boto3 and aioboto3 clients.
  • Adds support for W3CTraceParent header sampled flag

    • When an upstream service sends the W3CTraceParent header with the sampling flag set, New Relic will take into account that sampling decision when deciding whether the current transaction will be sampled.
  • Added support for sampling decisions based on whether the remote parent is sampled

    • Added support for two new configuration options:

      • distributed_tracing.sampler.remote_parent_sampled
      • distributed_tracing.sampler.remote_parent_not_sampled
    • default is the default behavior and behaves as it did before this change (it passes the sampling decision to the adaptive sampling algorithm to determine whether the transaction will be sampled).

    • always_on means that the trace that has a remote parent sampled or remote parent not sampled will always be sampled.

    • always_off means that the trace that has a remote parent sampled or remote parent not sampled will never be sampled.

Bug fixes

  • Add safeguard for deepest unique path in GraphQL

    • Some users were experiencing issues with the deepest unique path in GraphQL not being generated due to a field name returning None. This issue has been fixed.
  • Add safeguard for web request parsing

    • Some users experienced a parsing error when request_uri was malformed or contained invalid characters. This can happen at this point if the request_uri in the request header is invalid and does not match the (valid) URL originally given. While this safeguard has now been put in place in New Relic, urllib has resolved this issue for versions of Python released after Jan 31, 2025.
  • Fix crash in ElasticSearch and GraphQL when trace.settings==None

    • In cases where trace.settings is None, the instrumentation for ElasticSearch crashed the application. A global_settings fallback has been put in place. This also resolves the same issue found in GraphQL.
  • Remove options method from async ElasticSearch client list

    • The previous instrumentation of ElasticSearch caused a crash because options was in the list of async methods. This method is no longer wrapped in a DatastoreTrace since it is not one that conducts any datastore operations/requests.

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.

August 14
Python agent v10.16.0

Notes

이 에이전트 릴리스에서는 새로운 레디스 함수에 대한 지원이 추가되고, 모든 내부 경로를 os.path 에서 pathlib.Path 로 변환하며, PosixPaths의 JSON 인코딩 문제를 해결합니다.

끌어오기 패키지 색인을 통해 easy_install/pip/distribute 사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.

새로운 기능

  • 새로운 레디스 기능에 대한 지원을 추가합니다.

    • 새로운 레디스 함수에 대한 측정, 로그를 추가합니다.
  • os.path 의 모든 내부 경로를 다음으로 변환합니다. pathlib.Path

    • Windows 경로를 지원하기 위해 문자열 기반 경로의 모든 내부 사용법과 os.pathpathlib.Path 로 변환합니다.

버그 수정

  • PosixPath JSON 인코딩 문제 해결

    • 일부 사용자는 JSON 인코딩 PosixPath 구성 설정에서 문제를 겪고 있었습니다. 이 문제는 해결되었습니다.

지지 성명

최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.

에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.

July 24
Python agent v10.15.0

Notes

이번 릴리스 에이전트는 oracledb 에 대한 지원을 추가하고, MessageTransaction 객체에 destination_name 속성이 없는 Kombu 및 Kafka의 버그를 수정하고, AWS 에서 사용률 메타데이터가 사라지는 문제를 수정합니다.

끌어오기 패키지 색인을 통해 easy_install/pip/distribute 사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.

새로운 기능

  • OracleDB에 대한 지원을 추가합니다.

    • oracledb 에 대한 측정, 도구를 추가합니다.

버그 수정

  • "MessageTransaction 개체에 속성 destination_name없습니다" 버그 수정

    • MessageBroker 측정, 과학적 버그를 수정했습니다. 이 버그에서는 직렬화 메서드가 MessageTransaction 에서 destination_name 속성을 찾았지만 해당 속성이 존재하지 않았습니다.
  • AWS와 K8s를 함께 실행할 때 발생하는 AWS 활용 메타데이터 문제 해결

    • AWS EC2 서버에서 실행되는 K8s 파드의 권한 설정으로 인해 사용량을 처음으로 검색할 수 있습니다. 그러나 애플리케이션을 계속해서 실행하면 에이전트가 다시 연결되고 사용률 메타데이터가 로드되지 않습니다. 이러한 경우, 활용 메타데이터는 에이전트 인스턴스별로 캐시되며 검색이 가능합니다.

지지 성명

최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.

에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.

June 18
Python agent v10.14.0

Notes

이번 릴리스 에이전트에는 Azure Function Appsprotobuf v6에 대한 지원이 추가되었습니다.

끌어오기 패키지 색인을 통해 easy_install/pip/distribute 사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.

새로운 기능

  • Azure 함수 앱에 대한 지원을 추가합니다.

버그 수정

  • protobuf v6 지원을 활성화하기 위해 pb2 파일을 추가합니다.

    • 이전에는 protobuf v6 지원이 부족하여 여러 Google 패키지가 뉴렐릭과 호환되지 않았습니다. 이제 이 문제는 해결되었습니다.

지지 성명

최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.

에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.

June 9
Python agent v10.13.0

Notes

이 파이썬 에이전트 릴리스에서는 MCP(모델 컨텍스트 프로토콜)에 대한 지원이 추가되고 importlib.metadatapkg_resources 에 대한 가져오기 논리가 수정되었습니다.

끌어오기 패키지 색인을 통해 easy_install/pip/distribute 사용하여 에이전트를 설치하거나 뉴렐릭 다운로드 사이트 에서 직접 다운로드하세요.

새로운 기능

  • MCP(모델 컨텍스트 프로토콜)에 대한 지원 추가

    • mcpfastmcp 에서 MCP 호출에 대한 지원을 추가합니다. 에이전트는 이제 다음 핵심 MCP 기본 요소를 자동으로 다운로드합니다.

      • 도구( call_tool 통해)
      • 리소스( read_resource 통해)
      • 프롬프트( get_prompt 를 통해)

버그 수정

  • importlib.metadata 에 대한 가져오기 논리를 수정합니다. pkg_resources

    • importlib.metadata 가져오기 주변의 논리를 업데이트하여 pkg_resources.* 로 되돌아가기 전에 importlib_metadata 백포트를 사용하려고 시도합니다. 이렇게 하면 sys.version 조건문 사용이 제거되고 3.9에서 importlib.metadata 사용할 수 있음에도 불구하고 pkg_resources 만 사용할 수 있었던 문제가 해결됩니다.

지지 성명

최신 에이전트 버전이 출시되면 즉시 업데이트하는 것이 좋습니다. 최신 버전으로 업그레이드할 수 없는 경우, 에이전트를 90일 이내 버전으로 업데이트하세요. 에이전트에게 최신 정보를 제공하는 방법에 대해 자세히 알아보세요.

에이전트 릴리스 및 지원 날짜에 대한 정보는 뉴렐릭 끌어 당기는 에이전트 EOL 정책을 참조하세요.

May 12
Python agent v10.12.0

Notes

This release of the Python agent adds support for Redis v6.0.0 and fixes conflicts with the opentelemetry-proto package.

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 Redis v6.0.0

    • Adds support for all client methods introduced in Redis v6.0.0.

Bug fixes

  • Fix conflicts with opentelemetry-proto package

    • Fixes an issue where the agent's internal copy of opentelemetry-proto would conflict with any other packages relying on opentelemetry-proto (such as ChromaDB). This should now be treated as a separate package by OpenTelemetry and prevent any conflicts.

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.

Droits d'auteur © 2025 New Relic Inc.

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