newrelic_datastore_segment_config_t Struct Reference

Configuration used to configure how datastore segments are recorded in a transaction. More...

Data Fields

bool instance_reporting
 Configuration which controls whether datastore instance names are reported to New Relic. More...
 
bool database_name_reporting
 Configuration which controls whether datastore database names are reported to New Relic. More...
 

Detailed Description

Configuration used to configure how datastore segments are recorded in a transaction.

Field Documentation

◆ database_name_reporting

bool newrelic_datastore_segment_config_t::database_name_reporting

Configuration which controls whether datastore database names are reported to New Relic.

If set to true for a transaction, database names are reported to New Relic. More specifically, the database_name field in a newrelic_datastore_segment_params_t passed to newrelic_datastore_start_segment() is reported when the corresponding transaction is reported.

◆ instance_reporting

bool newrelic_datastore_segment_config_t::instance_reporting

Configuration which controls whether datastore instance names are reported to New Relic.

If set to true for a transaction, instance names are reported to New Relic. More specifically, the host and port_path_or_id fields in a newrelic_datastore_segment_params_t passed to newrelic_datastore_start_segment() is reported when the corresponding transaction is reported.


The documentation for this struct was generated from the following file: