[−][src]Crate newrelic_sys
Re-exports
pub use self::_newrelic_loglevel_t as newrelic_loglevel_t; |
pub use self::_newrelic_tt_recordsql_t as newrelic_tt_recordsql_t; |
pub use self::_newrelic_transaction_tracer_threshold_t as newrelic_transaction_tracer_threshold_t; |
Structs
__fsid_t | |
_newrelic_app_config_t | @brief Configuration used to describe application name, license key, as well as optional transaction tracer and datastore configuration. |
_newrelic_custom_event_t | |
_newrelic_datastore_segment_config_t | @brief Configuration used to configure how datastore segments are recorded in a transaction. |
_newrelic_datastore_segment_params_t | @brief Segment configuration used to instrument calls to databases and object stores. |
_newrelic_external_segment_params_t | @brief Segment configuration used to instrument external calls. |
_newrelic_process_config_t | @brief Optional configuration for the underlying communication mechanism between an instrumented application and the daemon. The default is to use a UNIX-domain socket located at /tmp/.newrelic.sock. If this default works for your system, creating this configuration is not necessary. |
_newrelic_segment_t | |
_newrelic_transaction_tracer_config_t | @brief Configuration used to configure transaction tracing. |
_newrelic_transaction_tracer_config_t__bindgen_ty_1 | @brief The datastore_reporting field of newrelic_transaction_tracer_config_t is a collection of configuration values that control how certain characteristics of datastore queries are recorded. |
_newrelic_txn_t | |
_nr_app_and_info_t |
Constants
Functions
newrelic_add_attribute_double⚠ | @brief Add a custom double attribute to a transaction. |
newrelic_add_attribute_int⚠ | @brief Add a custom integer attribute to a transaction. |
newrelic_add_attribute_long⚠ | @brief Add a custom long attribute to a transaction. |
newrelic_add_attribute_string⚠ | @brief Add a custom string attribute to a transaction. |
newrelic_configure_log⚠ | @brief Configure the C SDK's logging system. |
newrelic_create_app⚠ | @brief Create an application. |
newrelic_create_app_config⚠ | @brief Create a populated application configuration. |
newrelic_create_custom_event⚠ | @brief Creates a custom event |
newrelic_custom_event_add_attribute_double⚠ | @brief Adds a double key/value pair to the custom event's attributes |
newrelic_custom_event_add_attribute_int⚠ | @brief Adds an int key/value pair to the custom event's attributes |
newrelic_custom_event_add_attribute_long⚠ | @brief Adds a long key/value pair to the custom event's attributes |
newrelic_custom_event_add_attribute_string⚠ | @brief Adds a string key/value pair to the custom event's attributes |
newrelic_destroy_app⚠ | @brief Destroy the application. |
newrelic_destroy_app_config⚠ | @brief Destroy the application configuration. |
newrelic_discard_custom_event⚠ | @brief Frees the memory for custom events created via the newrelic_create_custom_event function |
newrelic_end_segment⚠ | @brief Record the completion of a segment in a transaction. |
newrelic_end_transaction⚠ | @brief End a transaction. |
newrelic_ignore_transaction⚠ | @brief Ignore the current transaction |
newrelic_init⚠ | @brief Initialise the C SDK with non-default settings. |
newrelic_notice_error⚠ | @brief Record an error in a transaction. |
newrelic_record_custom_event⚠ | @brief Records the custom event. |
newrelic_record_custom_metric⚠ | @brief Generate a custom metric. |
newrelic_set_segment_parent⚠ | @brief Set the parent for the given segment. |
newrelic_set_segment_parent_root⚠ | @brief Set the transaction's root as the parent for the given segment. |
newrelic_set_segment_timing⚠ | @brief Override the timing for the given segment. |
newrelic_set_transaction_timing⚠ | @brief Override the timing for the given transaction. |
newrelic_start_datastore_segment⚠ | @brief Record the start of a datastore segment in a transaction. |
newrelic_start_external_segment⚠ | @brief Start recording an external segment within a transaction. |
newrelic_start_non_web_transaction⚠ | @brief Start a non-web based transaction. |
newrelic_start_segment⚠ | @brief Record the start of a custom segment in a transaction. |
newrelic_start_web_transaction⚠ | @brief Start a web based transaction. |
newrelic_version⚠ | @brief Get the SDK version. |
Type Definitions
__blkcnt64_t | |
__blkcnt_t | |
__blksize_t | |
__caddr_t | |
__clock_t | |
__clockid_t | |
__daddr_t | |
__dev_t | |
__fsblkcnt64_t | |
__fsblkcnt_t | |
__fsfilcnt64_t | |
__fsfilcnt_t | |
__fsword_t | |
__gid_t | |
__id_t | |
__ino64_t | |
__ino_t | |
__int8_t | |
__int16_t | |
__int32_t | |
__int64_t | |
__int_least8_t | |
__int_least16_t | |
__int_least32_t | |
__int_least64_t | |
__intmax_t | |
__intptr_t | |
__key_t | |
__loff_t | |
__mode_t | |
__nlink_t | |
__off64_t | |
__off_t | |
__pid_t | |
__quad_t | |
__rlim64_t | |
__rlim_t | |
__sig_atomic_t | |
__socklen_t | |
__ssize_t | |
__suseconds_t | |
__syscall_slong_t | |
__syscall_ulong_t | |
__time_t | |
__timer_t | |
__u_char | |
__u_int | |
__u_long | |
__u_quad_t | |
__u_short | |
__uid_t | |
__uint8_t | |
__uint16_t | |
__uint32_t | |
__uint64_t | |
__uint_least8_t | |
__uint_least16_t | |
__uint_least32_t | |
__uint_least64_t | |
__uintmax_t | |
__useconds_t | |
_newrelic_loglevel_t | @brief Log levels. An enumeration of the possible log levels for an SDK configuration, or newrelic_app_config_t. The highest priority loglevel is NEWRELIC_LOG_ERROR. The level NEWRELIC_LOG_DEBUG offers the greatest verbosity. |
_newrelic_transaction_tracer_threshold_t | @brief Configuration values used to configure the behaviour of the transaction tracer. |
_newrelic_tt_recordsql_t | @brief Configuration values used to configure how SQL queries are recorded and reported to New Relic. |
int_fast8_t | |
int_fast16_t | |
int_fast32_t | |
int_fast64_t | |
int_least8_t | |
int_least16_t | |
int_least32_t | |
int_least64_t | |
intmax_t | |
newrelic_app_config_t | |
newrelic_app_t | @brief A New Relic application. Once an application configuration is created with newrelic_create_app_config(), call newrelic_create_app() to create an application to report data to the daemon; the daemon, in turn, reports data to New Relic. |
newrelic_custom_event_t | @brief A Custom Event. The C SDK provides a Custom Events API that allows one to send custom events to New Relic Insights. To send an event, start a transaction and use the newrelic_create_custom_event() and newrelic_record_custom_event() functions. Examples of sending custom events are available in the examples directory. |
newrelic_datastore_segment_config_t | |
newrelic_datastore_segment_params_t | |
newrelic_external_segment_params_t | |
newrelic_process_config_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. |
newrelic_time_us_t | @brief A time, measured in microseconds. C SDK configuration and API calls with time-related parameters expect this type. For an example configuration, see newrelic_transaction_tracer_config_t. |
newrelic_transaction_tracer_config_t | |
newrelic_txn_t | @brief A New Relic transaction. A transaction is started using newrelic_start_web_transaction() or newrelic_start_non_web_transaction(). A started, or active, transaction is stopped using newrelic_end_transaction(). One may modify a transaction by adding custom attributes or recording errors only after it has been started. |
uint_fast8_t | |
uint_fast16_t | |
uint_fast32_t | |
uint_fast64_t | |
uint_least8_t | |
uint_least16_t | |
uint_least32_t | |
uint_least64_t | |
uintmax_t |