30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

Working with Code Tracing<br />

Code Tracing records execution activity in real-time. This provides an in-depth diagnostic tool that will<br />

allow you to drill-down to the function level to view actual performance related information and statistics.<br />

In order to work with Code Tracing you first have to have the Code Tracing component installed and<br />

activated (see the Installation <strong>Guide</strong> for information on adding components and to see Working with<br />

Components for information on the components in your system).<br />

Setting a Monitor Rule to Run a Code Trace<br />

This procedure describes how to define monitor rule settings to in addition to the event related information<br />

also collect trace information when the event is generated.<br />

128<br />

To set a monitor rule to save trace data:<br />

1. Go to Rule Management | Monitoring.<br />

2. Select a rule from the list.<br />

3. Click Edit to open the rule for editing.<br />

4. Scroll down the page to "Step 2: Event Action"<br />

5. Select the one of the options and click .<br />

The Tracing options are:<br />

Save Trace Data - Generate a trace file each time the event is triggered.<br />

Activate Trace Data Collection for... -Generate a trace file for a given time frame each<br />

time an event is triggered.<br />

6. Scroll to the bottom (or the top) of the page and click Save to save changes.<br />

The next time the event is triggered trace information for that specific occurrence will be collected. The<br />

trace information can be viewed in Monitor | Code Tracing or directly from the event (see important note<br />

below).<br />

Important Note:<br />

A single issue can contain aggregated information about more than one instance of an occurrence. This<br />

information is also grouped according to when the event occurred. When Code Trace information is<br />

collected it is collected for a specific time and therefore will be associated to a specific group inside the<br />

event for more information see "Viewing Trace information Inside an Event".

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!