[][src]Function newrelic_sys::newrelic_custom_event_add_attribute_int

pub unsafe extern "C" fn newrelic_custom_event_add_attribute_int(
    event: *mut newrelic_custom_event_t,
    key: *const c_char,
    value: c_int
) -> bool

@brief Adds an int key/value pair to the custom event's attributes

Given a custom event, this function adds an integer attributes to the event.

@param [in] event A valid custom event, @see newrelic_create_custom_event(). @param [in] key the string key for the key/value pair @param [in] value the integer value of the key/value pair

@return false indicates the attribute could not be added