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:
- 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:
- append.profile.autoappname=true
- If a port is not configured, it will be automatically assigned based on the request URL.
- 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.