How to setup a Java agent in a Spring boot app deployed in PCF cloud

Viewed 2304

I have a Spring boot app deployed into PCF cloud. I need to setup a Java agent on it. How do I give the JVM options? How to include the agent jar in the deployed jar file? I use Maven to build.

2 Answers
Related