You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR updates [newrelic](https://pypi.org/project/newrelic) from **4.12.0.113** to **4.14.0.115**.
<details>
<summary>Changelog</summary>
### 4.14.0.115
```
This release of the Python agent adds support for native coroutines and generators with the background task API and adds support for Kubernetes detection.
The agent can be installed using easy_install/pip/distribute via the Python Package Index or can be downloaded directly from the New Relic download site.
Features
background_task can now be used with coroutines
The background_task decorator API can now be used with native coroutines and generators.
background_task(name='my_coroutine')
async def my_coroutine():
await asyncio.sleep(0.1)
Add support for collection of Kubernetes metadata
The agent will now collect environment variables prefixed by NEW_RELIC_METADATA_ as additional metadata. Some of this metadata may be added to Transaction events to provide context between your Kubernetes cluster and your services. For details on the benefits (currently in beta) see this blog post.
The agent now also collects the KUBERNETES_SERVICE_HOST environment variable to detect when the application is running on Kubernetes. The data is used to link the application to the host machine when using the New Relic infrastructure product.
Bug Fixes
Using time trace decorators allowed coroutines to become Iterables and generators to become awaitables
When using time trace decorators native coroutines were converted to iterables. Additionally generators were converted to awaitables. The behavior of generators, native coroutines, and awaitable generators is now unchanged when using time trace decorators.
```
</details>
<details>
<summary>Links</summary>
- PyPI: https://pypi.org/project/newrelic
- Changelog: https://pyup.io/changelogs/newrelic/
- Homepage: http://newrelic.com/docs/python/new-relic-for-python
</details>
0 commit comments