Replies: 2 comments 2 replies
-
At build time, that's all you're going to see. It just adds the agent binaries to the image, which it has done for you (actually, it's cached so not in that particular build but in a previous build you ran). Then you need to enable it at runtime. See the docs here for instructions on doing that as well as instructions on connecting with YourKit UI. Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Yes, i found the location of the agent by inspecting a running pod. Means, i am profiling :-) My first thought was, that the profile buildpack will append to the yourkit JAVA_TOOL_OPTIONS, but it seems to use a fresh start. Thanks for your tips and the doc-link. I also corrected my pom to use urn-like buildpacks references. |
Beta Was this translation helpful? Give feedback.
-
I try to use the yourkit buildpack with the spring-boot-maven plugin like shown at the bottom. The build runs without error and the yourkit buildpack is in use:
My question is: What is necessary to get the javaagent option into the java option ? Right now the java command line stays as defined below.
Beta Was this translation helpful? Give feedback.
All reactions