Automatic Application Name and Port Assignment in APM Insight

Automatic application name and port assignment

The agent now provides support for assigning application names and ports automatically based on the environment, framework, or application server, reducing manual effort in the configuration process. 

Automatic app name

Add the following line to the configuration file (apminsight.conf) to assign the application name automatically:
  1. auto.appname.enabled=true

Append profile for Spring applications

Add the following line to the configuration file (apminsight.conf) to automatically append any detected profile or release type (e.g., prod, dev) to the application name for Spring applications:
  1. append.profile.autoappname=true
  1. If a port is not configured, it will be automatically assigned based on the request URL.
  2. If the agent fails to detect and assign a valid application name, it will use My Application as the default name.

Save the file

Once the changes are made, ensure you save the apminsight.conf file.