Files
klz-cables.com/.pnpm-store/v10/files/64/0e3765c2c8ef9b133a4f69b86c8075ea60e26383cf4a6d50aa6dbdba4c187404f21193cf6d1fa80a94d1ca7f5a05b93a0b9f1677d127c9204962d97ff3b893
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

44 lines
1.7 KiB
Plaintext

import { Context, TextMapGetter, TextMapSetter } from '@opentelemetry/api';
import { W3CBaggagePropagator } from '@opentelemetry/core';
import { Client, continueTrace, DynamicSamplingContext, Scope } from '@sentry/core';
/**
* Injects and extracts `sentry-trace` and `baggage` headers from carriers.
*/
export declare class SentryPropagator extends W3CBaggagePropagator {
/** A map of URLs that have already been checked for if they match tracePropagationTargets. */
private _urlMatchesTargetsMap;
constructor();
/**
* @inheritDoc
*/
inject(context: Context, carrier: unknown, setter: TextMapSetter): void;
/**
* @inheritDoc
*/
extract(context: Context, carrier: unknown, getter: TextMapGetter): Context;
/**
* @inheritDoc
*/
fields(): string[];
}
export { shouldPropagateTraceForUrl } from '@sentry/core';
/**
* Get propagation injection data for the given context.
* The additional options can be passed to override the scope and client that is otherwise derived from the context.
*/
export declare function getInjectionData(context: Context, options?: {
scope?: Scope;
client?: Client;
}): {
dynamicSamplingContext: Partial<DynamicSamplingContext> | undefined;
traceId: string | undefined;
spanId: string | undefined;
sampled: boolean | undefined;
};
/**
* Takes trace strings and propagates them as a remote active span.
* This should be used in addition to `continueTrace` in OTEL-powered environments.
*/
export declare function continueTraceAsRemoteSpan<T>(ctx: Context, options: Parameters<typeof continueTrace>[0], callback: () => T): T;
//# sourceMappingURL=propagator.d.ts.map