tracePropagationTargets property

List<String> tracePropagationTargets
final

List of strings/regex controlling to which outgoing requests the SDK will attach tracing headers.

By default the SDK will attach those headers to all outgoing requests. If this option is provided, the SDK will match the request URL of outgoing requests against the items in this array, and only attach tracing headers if a match was found.

Implementation

final List<String> tracePropagationTargets = ['.*'];