Display context-sensitive APM data directly in your IDE by integrating New Relic CodeStream with the Python agent. Visualize code-level production tleemetry in your editor as your write and review code with this integration.
Getting started
First, install the New Relic CodeStream extension into your supported IDE of choice and login.
Important
The New Relic CodeStream integration is available in Python Agent version 7.10.0.175 and higher and is enabled by default. To change this configuration, check out our documentation.
Agent attributes
The Python agent reports and attaches the following attributes to spans produced by your application:
Name | Description | Example |
---|---|---|
| The name of the instrumented function | validate_credentials |
| The absolute path to the source code file in which | /usr/local/apps/test-app/main.py |
| The line number where | 639 |
| The namespace (class/ module name) in which | example.service.MyService |
Important
Not every function in your application code will be instrumented with the above attributes. In some cases, the agent will directly wrap base framework code (ie. Django, Flask, etc.) that is invoked within your application and will not display within your IDE.