File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
src/platforms/node/common/configuration/integrations Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,29 @@ Available options:
6161``` javascript
6262{
6363 breadcrumbs: boolean; // default: true
64- tracing: boolean; // default: false
64+ tracing: boolean | TracingOptions; // default: false
65+ }
66+ ```
67+
68+ Where ` TracingOptions ` is:
69+ ``` javascript
70+ {
71+ /**
72+ * List of strings/regex controlling to which outgoing requests
73+ * the SDK will attach tracing headers.
74+ *
75+ * By default the SDK will attach those headers to all outgoing
76+ * requests. If this option is provided, the SDK will match the
77+ * request URL of outgoing requests against the items in this
78+ * array, and only attach tracing headers if a match was found.
79+ */
80+ tracePropagationTargets?: TracePropagationTargets;
81+
82+ /**
83+ * Function determining whether or not to create spans to track outgoing requests to the given URL.
84+ * By default, spans will be created for all outgoing requests.
85+ */
86+ shouldCreateSpanForRequest?: (url : string ) => boolean;
6587}
6688```
6789
You can’t perform that action at this time.
0 commit comments