newrelic_external_segment_params_t Struct Reference

Segment configuration used to instrument external calls. More...

Data Fields

char * uri
 The URI that was loaded; it cannot be NULL. More...
 
char * procedure
 The procedure used to load the external resource. More...
 
char * library
 The library used to load the external resource. More...
 

Detailed Description

Segment configuration used to instrument external calls.

Examples
ex_distributed_tracing_client.c, and ex_external.c.

Field Documentation

◆ library

char* newrelic_external_segment_params_t::library

The library used to load the external resource.

If provided, this field is required to be a null-terminated string that does not include any slash characters. It is also valid to provide NULL, in which case no library will be attached to the external segment.

◆ procedure

char* newrelic_external_segment_params_t::procedure

The procedure used to load the external resource.

In HTTP contexts, this will usually be the request method (eg GET, POST, et al). For non-HTTP requests, or protocols that encode more specific semantics on top of HTTP like SOAP, you may wish to use a different value that more precisely encodes how the resource was requested.

If provided, this field is required to be a null-terminated string that does not include any slash characters. It is also valid to provide NULL, in which case no procedure will be attached to the external segment.

Examples
ex_external.c.

◆ uri

char* newrelic_external_segment_params_t::uri

The URI that was loaded; it cannot be NULL.

This field is required to be a null-terminated string containing a valid URI, and cannot be NULL.


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