[][src]Type Definition newrelic_sys::newrelic_segment_t

type newrelic_segment_t = _newrelic_segment_t;

@brief A segment within a transaction. Within an active transaction, instrument additional segments for greater granularity. Instrument external calls with newrelic_start_external_segment(). Instrument datastore calls with newrelic_start_datastore_segment(). Instrument arbitrary function calls or other code with newrelic_start_segment(). All segments must be ended with newrelic_end_segment(). Examples of instrumenting segments are available in the examples directory.