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