The New Relic Framework causes an application to be automatically configured to work with a bound New Relic Service.
| Detection Criterion | Existence of a single bound New Relic service. The existence of an New Relic service defined by the VCAP_SERVICES payload containing a service name-version, name, label or tag with newrelic as a substring. |
| Tags | new-relic-agent=<version> |
When binding New Relic using a user-provided service, it must have a name or tag with newrelic in it. The credential payload can contain the following entries:
| Name | Description |
|---|---|
licenseKey |
The license key to use when authenticating |
For general information on configuring the buildpack, refer to Configuration and Extension.
The framework can be configured by modifying the config/newrelic.yml file. The framework uses the Repository utility support and so it supports the version syntax defined there.
| Name | Description |
|---|---|
repository_root |
The URL of the New Relic repository index (details). |
version |
The version of New Relic to use. Candidate versions can be found in this listing. |