I am unsuccessful in deploying a really simple (one endpoint) spring boot app to the swisscom cloud with the new relic java agent.
Here is the main dependency found in pom.xml:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
Here is the manifest.yml:
applications:
- name: newrelicdemocf
memory: 512M
instances: 1
buildpack: java_buildpack_v3
path: target/newrelicdemocf.jar
Locally I am able to start the app with the new relic java agent as it is explained how to run and how to install via maven.
I have found that swisscom supports new relic for php applications, but I haven't found any reference for spring boot apps.
The java build pack documentation states it supports new relic, but I also haven't found a way to bind the two.
Is there a way to run the new relic java agent with a Spring boot app on Swisscom cloud and if so, what steps am I missing?