[][src]Function newrelic_sys::newrelic_ignore_transaction

pub unsafe extern "C" fn newrelic_ignore_transaction(
    transaction: *mut newrelic_txn_t
) -> bool

@brief Ignore the current transaction

Given a transaction, this function instructs the C SDK to not send data to New Relic for that transaction.

@warning Even when newrelic_ignore_transaction() is called, one must still call newrelic_end_transaction() to free the memory used by the transaction and avoid a memory leak.

@param [in] transaction A transaction.

@return true on success.