Adding apminsight.conf properties as the JVM's application properties

Can apminsight.conf properties be added as the JVM's application properties?

Yes, all of the configurations in the apminsight.conf file can be added as system properties of the JVM.
These configurations are applicable only to the APM Insight Java agent.

Please find the names and examples of the properties below.

apminsight.conf file entry

System property key
Example/Format

license.key

apminsight.license.key
1234567890abcdef

application.name

apminsight.application.name
My Application

agent.server.port

apminsight.agent.server.port
8080

Proxy config

apminsight.agent.proxy
user:pswd@host:port

apminsight.log.dir

apminsight.log.dir
/usr/local/qa-123/logs
All or specific keys can be provided as system properties in the JVM.

Example:
  1. -javaagent:/usr/local/qa-123/site24x7/apminsight-javaagent.jar -Dapminsight.application.name=qa_zylker -Dapminsight.license.key=1234567890abcdef 


    • Related Articles

    • APM Insight monitor not getting added to my account

      The most probable reason will be a wrong license key used while adding the agent. Check if you have added the agent in the application with the correct license key. If you have used the correct license key and still the monitor is not getting added, ...
    • Mention APM Insight application name as a JVM argument

      To mention APM Insight application name in JVM parameters, kindly add the following line to the arguments       -Dapminsight.application.name=your_app_name This will override the value specified in apminsight.conf file. Example: In Windows, set ...
    • Possibility of providing environment variable in apminsight.conf file

      Yes, it is possible. It can be done by enclosing the environment variable with { }. This can be done for all the options in apminsight.conf file. Note: The agent looks for the environment variable in ENV hash only Example: application.name={app_name} ...
    • How to redirect agent logs to STDOUT or console

      By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent.  To redirect the agent logs to STDOUT or console, add "apminsight.console.logger=true" in apminsight.conf file and restart your ...
    • Steps to troubleshoot when you get NO DATA message for Ruby applications.

      You may get NO DATA message for your APM Insight Ruby applications - the probable reasons are listed below with the corresponding troubleshooting instructions. Reason Cause Solution APM instance is UP but NO DATA message is received. There is no ...