Skip to content

Springboot - Gradle task for buildpacks new-relic #177

Answered by dmikusa
kenwiths asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer: you need to include a binding for the New Relic buildpack to detect properly.

A binding exists with type of NewRelic

https://github.com/paketo-buildpacks/new-relic/#behavior

See this doc page for details on bindings. In a nutshell, a binding is just a folder with files. One file called type with a value of NewRelic and then additional files for settings you want to pass to the New Relic buildpack, where the name is the key and the contents are the value. For example, a file called license_key with the contents of <your license> would get passed through to New Relic as it's license key (it's passed through via an env variable NEW_RELIC_LICENSE_KEY which is automatically set).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kenwiths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants