Skip to content

Commit

Permalink
Add python release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Sep 16, 2021
1 parent 7ffbf8f commit 266ffa1
Showing 1 changed file with 48 additions and 0 deletions.
@@ -0,0 +1,48 @@
---
subject: Python agent
releaseDate: '2021-09-16'
version: 6.10.0.165
downloadLink: 'https://pypi.python.org/pypi/newrelic'
---

## Notes

This release of the Python agent adds new instrumentation for the GraphQL frameworks Strawberry and Ariadne, updates to Graphene and Starlette GraphQL instrumentation, a change to logging configuration, and includes bug fixes.

Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic) or download it directly from the New Relic [download site](http://download.newrelic.com/python_agent/release).

## New Features

* **Added new instrumentation for Strawberry**

GraphQL applications built using Strawberry will now be automatically instrumented.

* **Added new instrumentation for Ariadne**

GraphQL applications built using Ariadne will now be automatically instrumented.

## Improvements

* **New and changed metrics for Graphene applications**

Metrics specifying the framework details for Graphene have been added, and GraphQL metrics now include Graphene as a product field.

(eg. `GraphQL/operation/Graphene/query/<query_name>/<query_path>`)

* **Improved tracing in Starlette GraphQL applications**

GraphQL applications using Starlette now support all executor classes. Previously, only async executor classes were supported.

## Changes

* **New Relic logs no longer propagate to the root logger by default**

Previously, logs using the `logging` module sent to the `newrelic` logger would propagate to the root logger, potentially causing duplicate logs to appear or be sent to New Relic. This has been changed to no longer propagate to the root logger by default.

To reverse this behavior, in your application at any point you can run `logging.getLogger("newrelic").propagate = False`

## Bug Fixes

* **TimeTrace.__str__ recursion**

A case of infinite recursion with `TimeTrace.__str__` has been corrected in this release. Calling `str()`, `repr()` or `print()` on a `TimeTrace` object or subclass instance will now display helpful debugging information about it.

0 comments on commit 266ffa1

Please sign in to comment.