Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ffbf8f
commit 266ffa1
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...elease-notes/agent-release-notes/python-release-notes/python-agent-61000165.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |