How instana names springboot applications

 
Instana automatically picks up the name from the jar file that is launched if present. Otherwise, it will use the command line, similar to how the basic Java tools display the JVMs.

There are two standard attributes inside the jar, in META-INF/Manifest.MF:

  Implementation-Title=Demo App
  Implementation-Version=1.0.0

Those can usually be set using build tools when building the application. For more information see: https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html

If no name can be obtained by the procedure outlined above, Instana will try to figure out a name heuristically by inspecting various environment variables, for example -Dcatalina.home for Tomcat containers.

The display name can also be set explicitly by providing -Dcom.instana.agent.jvm.name='My Custom Name' when starting the JVM. This option takes precedence over everything else.

https://docs.instana.io/ecosystem/jvm/#configuring-the-display-name



Have more questions? Submit a request

Comments