When a Conditional Trace template has been created, you are ready to do traces in Desktop.
To do a trace:
- Open the Conditional Trace view in Desktop, click Manage and then click on the button. The Conditional Trace view opens.
The Conditional Trace view - Select which Call Trace template you want to use in the Template drop-down list.
- Enter the maximum number of traces you want to do per EC in the Max Traces Per EC field.
- The time interval for which you want to run the trace in seconds in the Lifetime (s) field.
- If a parameter has been defined in the template and mapped to a matcher in the Call Trace template, you can enter a regular expression in the <parameter name> field to only get hits where the parameter matches the regular expression.
- Click on the Start button to initiate the trace.
You have the following settings
After you have created a trace template, you can modify the template with the filter that you want to apply to a conditional trace.
Note!
Since Conditional Trace is a troubleshooting function, you should only set a conditional trace when required. → Why do we need to have this statement? It is recommended that you test the trace filters that you create in a test environment first so that you can assess the performance impact that your trace filter(s) may have on your production setup.
In the trace template, you define the Lifetime of a trace in seconds which determines when a trace automatically times out, unless you stop the trace as described in the following subsections.
A trace filter is applied in real-time, and you can only start a trace on a workflow that is already running.
There are two → 3 ways? If curl works ways in which you can create, start, stream and stop a trace.
This chapter includes the following sections: