App Agent Node Properties (N-R)
This reference page contains information about app agent node properties. The properties are listed in alphabetical order.
In general use caution when modifying the agent default settings. If increasing limits specified for an agent, you need to carefully assess and monitor memory consumption by the agent after the change.
nested-exception-message-depth
| Type | Default value | Platform(s) |
|---|---|---|
| Integer | 10 | Java, .Net |
normalize-prepared-statements
true, any variables in prepared statement SQL would be substituted with '?' before query text is added to any snapshots.
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | true | Java |
nservicebus-single-threaded
true. For multithreaded queue implementations, change the value to false. See NServiceBus Backends for .NET.
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | true | .Net |
osb-ignore-exit-types
Set the property to 'all', if you do not want to detect any exit.
| Type | Default value | Platform(s) |
|---|---|---|
| String | http,jms | Java |
on-demand-snapshots
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | false | Java, .Net |
percentile-method-option
- P Square algorithm (default): This option consumes the least amount of storage and incurs the least amount of CPU overhead. The accuracy of the percentile calculated varies depending on the nature of the distribution of the response times. You should use this option unless you doubt the accuracy of the percentiles presented.
- Quantile Digest algorithm: This option consumes slightly more storage and CPU overhead but may offer better percentiles depending on how the response times are distributed.
Changes to this property do not require that you restart the agent.
| Type | Supported Values | Default value | Platform(s) |
|---|---|---|---|
| Numeric |
|
1 | Java, .Net |
prometheus-metric-uri
| Type | Default value | Platform(s) |
|---|---|---|
| String | http://localhost:8080/q/metrics | Java |
prometheus-metric-report-initial-delay
| Type | Default value | Platform(s) |
|---|---|---|
| Integer | 60 | Java |
prometheus-metric-report-interval
The scaled metric can also be renamed. Use the following configuration format.
metricName*scalingFactor>newMetricName,metricName2*scalingFactor2>newMetricName2
Example
http_request_latency_in_sec*1000>http_request_latency_in_ms
prometheus-metric-drop-labels
Use the following configuration format:
labelName1,labelName2;metricName#labelName1,labelName2;metricName2#labelName1,labelName2
Example
netty_allocator_pooled_cache_size#id
quarkus-scheduled-annotation-discovery
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | false | Java |
queue-single-threaded
false.
When the IBM MQ Get() method is called, the transaction/snapshot is ended prematurely. To prevent this, set the agent node property: queue-single-threaded=true.
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | false | Java, .Net |
read-only-environment
When set to true/false, it will override the default detection mechanism and enforce the specified read-only setting. It helps save entries and prevents business transaction loss during the agent restart.
| Type | Default value | Platform(s) |
|---|---|---|
| Boolean | none | Java |
reportingFrequencyInMillis
| Type | Default value | Platform(s) |
|---|---|---|
| Numeric | 10000 ms | Java |
rest-num-segments
rest-num-segments specifies the n in the first-n-segments parameter in rest-uri-segment-scheme. If this property is 0 or less, then the value of this property is ignored. The value of this property is also ignored if rest-uri-segment-scheme=full.
| Type | Default value | Platform(s) |
|---|---|---|
| String | 2 | Java |
rest-transaction-naming
The agent takes each parameter and fills in the proper value based on the annotations and properties of the Java class:
{class-name}: The app agent will fill in the name of the Java class mapped to the REST resource.{method-name}: The method being called.{class-annotation}: Class annotation values.{method-annotation}: Method annotation applied to the method (not always present).{rest-uri}: URI of the REST resource. The REST URI is further configured using the following properties:{http-method}: HTTP method of the request, GET, POST, and so on.{param-%d}: A parameter to the method identified by position. Replace%dwith the position of the parameter (ZERO-based).
| Type | Default value | Platform(s) |
|---|---|---|
| String | {class-annotation}/{method-annotation}.{http-method} | Java |
Examples
rest-uri-segment-scheme
rest-uri-segment-scheme has three valid values: first-n-segments, last-n-segments, and full. This property indicates how many segments of the URI to use for the URI in {rest-uri}. This option is case-sensitive. If the value of this property is full, then the value of rest-num-segments is ignored.
| Type | Default value | Platform(s) |
|---|---|---|
| String | first-n-segments | Java |
rmqsegments
The RabbitMQ routing key is a string. The agent treats dot-separated (".") substrings of the routing key as segments. Set the value for rmqsegments to an integer that represents the number of routing key segments to include in the name. For more details, see information on refining backend naming in RabbitMQ Backends for .NET.
| Type | Value | Default value | Platform(s) |
|---|---|---|---|
| Numeric | Integer representing the number of routing key segments to include in the name. | 0 | .Net |