Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.9 KB

File metadata and controls

36 lines (29 loc) · 1.9 KB

New Relic Framework

The New Relic Framework causes an application to be automatically configured to work with a bound New Relic Service.

Detection CriterionExistence 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.
Tagsnew-relic-agent=<version>
Tags are printed to standard output by the buildpack detect script

User-Provided Service

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

Configuration

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.