Configuration used to describe application name, license key, as well as optional transaction tracer and datastore configuration. More...
Data Fields | |
char | app_name [255] |
Specifies the name of the application to which data shall be reported. | |
char | license_key [255] |
Specifies the New Relic license key to use. | |
char | redirect_collector [100] |
Optional. Specifies the New Relic provided host. There is little reason to ever change this from the default. | |
char | log_filename [512] |
Optional. Specifies the file to be used for C SDK logs. More... | |
newrelic_loglevel_t | log_level |
Optional. Specifies the logfile's level of detail. More... | |
newrelic_transaction_tracer_config_t | transaction_tracer |
Optional. The transaction tracer configuration. More... | |
newrelic_datastore_segment_config_t | datastore_tracer |
Optional. The datastore tracer configuration. More... | |
newrelic_distributed_tracing_config_t | distributed_tracing |
Optional. Distributed tracing configuration. More... | |
newrelic_span_event_config_t | span_events |
Optional. Span event configuration. More... | |
Detailed Description
Configuration used to describe application name, license key, as well as optional transaction tracer and datastore configuration.
- See also
- newrelic_create_app_config().
Field Documentation
◆ datastore_tracer
newrelic_datastore_segment_config_t newrelic_app_config_t::datastore_tracer |
Optional. The datastore tracer configuration.
By default, the configuration returned by newrelic_create_app_config() enables datastore segments with instance_reporting and database_name_reporting set to true.
◆ distributed_tracing
newrelic_distributed_tracing_config_t newrelic_app_config_t::distributed_tracing |
Optional. Distributed tracing configuration.
By default, the configuration returned by newrelic_create_app_config() disables the distributed tracing feature by setting distributed_tracing.enabled to true.
◆ log_filename
char newrelic_app_config_t::log_filename[512] |
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 newrelic_app_config_t::log_level |
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.
◆ span_events
newrelic_span_event_config_t newrelic_app_config_t::span_events |
Optional. Span event configuration.
By default, the configuration returned by newrelic_create_app_config() enables span event creation for the C SDK by setting span_events.enabled to true.
◆ transaction_tracer
newrelic_transaction_tracer_config_t newrelic_app_config_t::transaction_tracer |
Optional. The transaction tracer configuration.
By default, the configuration returned by newrelic_create_app_config() enables transaction traces, with the threshold set to NEWRELIC_THRESHOLD_IS_APDEX_FAILING.
The documentation for this struct was generated from the following file:
Generated on Wed Jan 8 2020 01:11:45 for New Relic C SDK by 1.8.16