This page should help you tune the configuration for APM Insight Java agent configuration profile. The APM Java agent configuration profile enables you to set threshold values for key parameters and web transactions. These settings can be configured in the apminsight.conf file or from the web client. Make sure that this file is present in the folder where you have deployed the APM Insight agent.
These settings can be configured using the edit option available in the web client.

The APM agent configuration profile is categorized into three parts:
Note: '*' indicates that the highlighted default value applies for versions above Applications Manager v16470.
| Name | Key | Description | Default value |
|---|---|---|---|
| Capture database SQL Queries | sql.capture.enabled |
|
True |
| Obfuscate SQL Parameters | transaction.trace.sql.parametrize |
|
True |
| Stacktrace threshold for SQLs in transaction trace | transaction.trace.sql.stacktrace.threshold |
|
3(seconds) |
| Display Instance Port number | show.instance.port.number |
|
True |
| Logging level | apminsight.log.level |
|
INFO |
| List of URL extensions to be skipped from tracking | transaction.skip.listening |
|
*.css, *.js, *.gif, *.jpg, *.jpeg, *.bmp, *.png, *.ico |
| List of exceptions to be skipped from tracking | exceptions.ignore |
|
None |
| Skip Transactions | transaction.skip.patterns |
|
None |
| Normalize DB Operation Names |
|
False | |
| Show Method Description in Traces |
|
True | |
|
Enable Loop detection |
transaction.trace.track.loop |
If the value is set to be 'true', the loops running in your application will be captured. |
false |
|
Enable Smart Sampling |
smart.sampler.enabled |
When enabled, the agent automatically adjusts the sampling factor based on real-time CPU/Memory consumption of the Java process. |
true |
|
Include Async in Total Response Time |
rt.include.async.time |
When enabled, the response time of asynchronous calls in a trace will be added to the transaction's total response time. |
true |
|
Capture JVM Metrics |
capture.jvm.metrics |
When enabled, performance metrics of the Java Virtual Machine (JVM) will be captured. |
true |
| Name | Key | Description | Default value |
|---|---|---|---|
| Apdex Threshold | apdex.threshold |
|
0.5 (seconds) |
| Sampling factor | transaction.tracking.request.interval |
|
1 (request) or 10 (request)* |
| Enable transaction tracing | transaction.trace.enabled |
|
True |
| Transaction tracing threshold | transaction.trace.threshold |
|
2(seconds) or 5(seconds)* |
| Capture trace if external calls exceeds | webtransaction.trace.external.components.count.threshold |
|
50 (Count) |
| Capture CPU time per transaction? | webtransaction.record.cputime.enabled |
|
True |
| Capture Memory allocation per transaction? | webtransaction.record.memory.allocation.enabled |
|
2 (seconds) |
| Capture HTTP parameters? | webtransaction.trace.input.params.record |
|
False |
| List of HTTP parameters to ignore | webtransaction.trace.input.params.ignore |
|
password, pswd, pass, authKey, parentId, parentID, resourceId, resourceID, id, ID |
| List of HTTP error codes to be ignored from tracking | http.errors.ignore |
|
None |
| List of HTTP error codes to be tracked | http.errors.track |
|
None |
| Capture HTTP Bytes | capture.http.network.bytes |
|
True |
| Group similar transactions by position | transaction.grouping.by.position |
|
None |
| Capture HTTP Headers | webtransaction.trace.request.headers.record |
|
False |
| Web Transaction Tracker Drop Threshold | webtransaction.tracker.drop.threshold |
|
10 milliseconds |
| Name | Key | Description | Default value |
|---|---|---|---|
| Track background transactions | bgtransaction.tracking.enabled |
|
True |
| Capture traces | bgtransaction.trace.enabled |
|
True |
| Transaction trace threshold | bgtransaction.trace.threshold |
|
5 (seconds) |
| Capture trace if external calls exceeds | bgtransaction.trace.external.components.count.threshold |
|
50 (Count) |
| Capture CPU time per transaction? | bgtransaction.record.cputime.enabled |
|
False |
| Capture Memory allocation per transaction? | bgtransaction.record.memory.allocation.enabled |
|
True |
| Sampling factor | bgtransaction.tracking.request.interval |
|
1 (Request) |
Certain configuration files cannot be modified from the client. These settings can be configured in apminsight.conf file.
| Name | Key | Description | Default value |
|---|---|---|---|
|
Application Name |
application.name |
|
True |
|
Capture traces |
license.key |
|
none |
|
Configure Proxy |
behind.proxy |
|
False |
|
Host details |
apm.host |
If a failover setup is configured, provide both the primary and secondary host details in the apm.host field (Eg: apm.host = https://primary-server:8443, https://secondary-server:8443). |
None |
|
Agent Server Port |
agent.server.port |
|
80 |
|
APM Directory path |
apminsight.log.dir |
|
Thank you for your feedback!