[−][src]Function newrelic_sys::newrelic_add_attribute_int
pub unsafe extern "C" fn newrelic_add_attribute_int(
transaction: *mut newrelic_txn_t,
key: *const c_char,
value: c_int
) -> bool
@brief Add a custom integer attribute to a transaction.
Given an active transaction, this function appends an integer attribute to the transaction.
@param [in] transaction An active transaction. @param [in] key The name of the attribute. @param [in] value The integer value of the attribute.
@return true if successful; false otherwise.