Returns object corresponding to an agent monitored app; required by some Python agent API calls.
This call returns an object corresponding to an agent-monitored application. If no
name value is set, the name set via the Python agent configuration is used.
The returned application object does not present any public API, but is required by some other API calls.
This call only returns the application object. It won't attempt to register the application with the data collector if this has not already occurred.
Optional. The name of the application. If set, this overrides the application name set via Python agent configuration.
Returns an application object. The object itself does not present any public API, but is required by some other API calls.
To generate an application object, use:
import newrelic.agentapp = newrelic.agent.application()
Some other Python agent API calls take the application object as a parameter. For an example, see the
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.