Chatta subito con l'assistenza
Chat con il supporto

Foglight for Java EE Technologies 5.9.7.5 - Application Servers User Guide

Monitoring Application Servers Monitoring Systems Monitoring Servers Monitoring Applications Monitoring Requests Managing Traces Using Object Tracking to Locate a Memory Leak Monitoring Methods Application Servers Monitor Views
JVM view Method Groups view Request Types view Entity EJBs view Message Driven EJBs view Stateful Session EJBs view Stateless Session EJBs view Deployed Applications view JSPs/Servlets components view Resource Adapters components view Web Applications components view Web Services components view .NET views JBoss Services views Oracle Services views Tomcat Services views WebLogic Services views WebSphere Services views JMX Administration dashboard JMX Explorer dashboard
Appendix: Regular Expressions

Using a rule action to collect single traces

1
On the navigation panel, under Dashboards, click Administration > Rules & Notifications > Rule Management.
5
Click the Conditions, Alarms & Actions tab.
7
From the Action menu, select RequestTracesAction.
8
Click Add to add the RequestTracesAction.
Request Type — Use this action parameter to specify unique request types.
Collect Parameters — Use this action parameter to collect all parameters.
Collect in full detail — Use this action parameter to indicate whether you want to collect methods in full detail or component detail (the default).
Count — Use this action parameter to specify the number of traces being collected.
Criteria — Use this action parameter to specify one or more criteria.
Duration — Use this action parameter to indicate the time period to collect the number of traces.
Is Regular Expression — Use this action parameter if you want to specify the Request Type using regular expressions to match the request type for a single trace collection.
Match All criteria — Use this action parameter to limit the trace collection to all or any of the following criteria: The response time of the request is over a specified threshold, The response time of the request is under a specified threshold, The request exits due to an exception, The request is incomplete, or a parameter of the request is set to a specific value.
The agent name IDs — Use this action parameter to specify the agentNameIDs property of the agent that you want to collect traces on.
Track SQL Parameters — Use this action parameter to track SQL bind variable values. The default value is set to Off.
9
In the Value column for Request Type, click Default and specify the value.
Click Change to update the action parameter.

Using Groovy to collect single traces

When you have a group of request types for which you want to collect single traces using the same criteria, you set the criteria using a Groovy script called from the command line (for example, using fglcmd). The collected single traces are stored on the Foglight Management Server, and displayed in the Application Servers Monitor > Requests view for users to review. Use the following function to trigger the collection of requested traces.
For details about instrumentation levels, see Appendix: Application Methods in the Foglight for Java EE Technologies Installation Guide.
1 Criteria are in milliseconds.

Viewing traces

1
3
In the Traces column of the Request Types table, click the number of traces for the request.
Figure 27. The Traces view opens, displaying both Aggregated Traces and Single Traces.
4
Optional — To view aggregated trace details, click a server name in the Aggregated Traces table, or to view single trace details, click a server name in the Single Traces table. The Trace Diagnosis view opens.

Traces view

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione