This call returns an object corresponding to a New Relic-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.
|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.
Generate and use an application object
To generate an application object, use:
import newrelic.agent app = newrelic.agent.application()
Some other Python agent API calls take the application object as a parameter. For an example, see the