Function addTracingHeadersToFetchRequest
-
Parameters
-
request: unknown
-
dynamicSamplingContext: Partial<DynamicSamplingContext>
-
-
options: {
headers?: PolymorphicRequestHeaders | {
[key: string]: string[] | string | undefined;
};
}
-
Optional
headers?: PolymorphicRequestHeaders | {
[key: string]: string[] | string | undefined;
}
Returns PolymorphicRequestHeaders
Adds sentry-trace and baggage headers to the various forms of fetch headers