Download PDF
Download page App Agent Node Properties (S).
App Agent Node Properties (S)
This reference page contains information about app agent node properties. The properties are listed in alphabetical order.
sensitive-data-filters
Set this property to true
to hide the sensitive runtime data in the transaction snapshots. Add the filters in the XML format specified in app-agent-config.xml
. This node property does not override sensitive filter configuration from app-agent-config.xml
.
Type | String |
Default value: | none |
Platform(s): | Java |
Example
<sensitive-data-filters>
<sensitive-data-filter applies-to="environment-variables,system-properties,jmx-mbeans"
match-type="CONTAINS"
match-pattern="password"/>
</sensitive-data-filters>
sensitive-message-filters
Set this property to true
to hide the runtime messages containing sensitive data in the transaction snapshots. Add the filters in the XML format specified in app-agent-config.xml
. This node property does not override other node properties.
Type | String |
Default value: | none |
Platform(s): | Java |
Example
<sensitive-message-filters>
<sensitive-message-filter message-type="throwable,logger-message,all"
match-type="EQUALS|CONTAINS|STARTSWITH|ENDSWITH|REGEX"
match-pattern="CASESENSITIVE_PATTERN"
redaction-regex="SENSITIVE_INFO_REGEX_GROUP"/>
</sensitive-message-filters>
sensitive-url-filters
Set this property to true
to hide the sensitive URLs in the transaction snapshots. Add the filters in the XML format specified in app-agent-config.xml
. This node property does not override sensitive filter configuration from app-agent-config.xml
.
Type | String |
Default value: | none |
Platform(s): | Java |
Example
<sensitive-url-filters>
<sensitive-url-filter delimiter="/"
segment="2,3"
match-filter="EQUALS|INLIST|STARTSWITH|ENDSWITH|CONTAINS|REGEX|NOT_EMPTY"
match-pattern="pattern"
param-pattern=""/>
</sensitive-url-filters>
show-packages
For the call graphs captured on this node, show the specified packages or class names in addition to the ones configured in the global call graph configuration. Does not need a restart.
Type: | String |
Default value: | none |
Platform(s): | Java, .NET |
slow-request-deviation
The value in milliseconds for the deviation from the current average response time. This setting is used for evaluation of slow in-flight transactions. Also, see the slow-request-threshold
property for more details.
Type: | Integer |
Default value: | 200 |
Range: | Minimum=10; Maximum=3600 |
Platform(s): | Java, .NET |
slow-request-monitor-interval
In-flight requests are checked for slowness in the interval specified by this property. The value is specified in milliseconds.
Type: | Integer |
Default value: | 100 |
Range: | Minimum=0; Maximum=3600 |
Platform(s): | Java, .NET |
slow-request-threshold
In-flight requests taking more time than this threshold (in ms) with a deviation greater than the slow-request-deviation
property from the current average response time are monitored to capture hot spots.
Type: | Integer |
Default value: | 500 |
Range: | Minimum=0; Maximum=3600 |
Platform(s): | Java, .NET |
socket-enabled
Use this property to enable NetViz monitoring of .NET and Java applications.
Type: | Boolean |
Default value: | false (.Net) true (Java) |
Platform(s): | .NET |
spring-batch-enabled
Use this property to enable or disable OOTB BT Detection for Spring Batch.
Type: | Boolean |
Default value: | true |
Platform(s): | Java |
spring-integration-receive-marker-classes
Use this property to specify the class and method you have identified as suitable POJO entry points for Spring Integration.
Based on the MessageHandler interface, the App Agent for Java by default automatically discovers exits for all channels except DirectChannel. In cases where a lot of application flow happens before the first MessageHandler is executed,
- Set enable-spring-integration-entry-points=false
- Configure suitable POJO entry points,
- Declare each suitable POJO entry point class/method in this property spring-integration-receive-marker-classes
If the application code polls for messages in a loop, the span of each loop iteration is tracked as a transaction. Tracking begins when the loop begins and end it when the iteration ends. To safeguard against cases where pollableChannel.receive()
is not called inside a loop, specify this property for each class/method combination that polls messages in a loop.
After setting this property, restart the application server for changes to this property to take effect.
Type: | Comma-separated string of fully-qualified class /method name, such as spring-integration-receive-marker-classes = |
Default value: | none |
Platform(s): | Java |
Examples
For example, to enable tracking for the following:
class MessageProcessor
{
void process()
{
while(true)
{
Message message = pollableChannel.receive()
}
}
}
set this property as follows:
spring-integration-receive-marker-classes = MessageProcesser/process
See also Spring Integrationサポート.
spring-mvc-naming-scheme
Register this node property to modify the naming scheme for Spring MVC transactions. Bean ID cannot be used as a global naming type. Use the bean ID and method name for global.
Type: | String |
Allowed values: | bean-id, simple-class-name, fully-qualified-class-name, business-interface-name, bean-method-name, ben-id-and-method-name, class-and-method-name |
Default value: | none |
Platform(s): | Java |