[][src]Struct newrelic_sys::_newrelic_app_config_t

#[repr(C)]
pub struct _newrelic_app_config_t { pub app_name: [c_char; 255], pub license_key: [c_char; 255], pub redirect_collector: [c_char; 100], pub log_filename: [c_char; 512], pub log_level: newrelic_loglevel_t, pub transaction_tracer: newrelic_transaction_tracer_config_t, pub datastore_tracer: newrelic_datastore_segment_config_t, }

@brief Configuration used to describe application name, license key, as well as optional transaction tracer and datastore configuration.

@see newrelic_create_app_config().

Fields

app_name: [c_char; 255]

@brief Specifies the name of the application to which data shall be reported.

license_key: [c_char; 255]

@brief Specifies the New Relic license key to use.

redirect_collector: [c_char; 100]

@brief Optional. Specifies the New Relic provided host. There is little reason to ever change this from the default.

log_filename: [c_char; 512]

@brief Optional. Specifies the file to be used for C SDK logs.

If no filename is provided, no logging shall occur.

log_level: newrelic_loglevel_t

@brief Optional. Specifies the logfile's level of detail.

There is little reason to change this from the default value except in troubleshooting scenarios.

Must be one of the following values: NEWRELIC_LOG_ERROR, NEWRELIC_LOG_WARNING NEWRELIC_LOG_INFO (default), NEWRELIC_LOG_DEBUG.

transaction_tracer: newrelic_transaction_tracer_config_t

@brief Optional. The transaction tracer configuration.

By default, the configuration returned by newrelic_new_config() will enable transaction traces, with the threshold set to NEWRELIC_THRESHOLD_IS_APDEX_FAILING.

datastore_tracer: newrelic_datastore_segment_config_t

@brief Optional. The datastore tracer configuration.

By default, the configuration returned by newrelic_new_config() will enable datastore segments with instance_reporting and database_name_reporting set to true.

Trait Implementations

impl Clone for _newrelic_app_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for _newrelic_app_config_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]