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:
- -javaagent:/usr/local/qa-123/site24x7/apminsight-javaagent.jar -Dapminsight.application.name=qa_zylker -Dapminsight.license.key=1234567890abcdef