Rocky_Mountain_Vending/.pnpm-store/v10/files/8f/7aaf0d69e2d447dcea2e3d5f0e7d539e64824b929ba44d2274b1d704f4a09b96f53c03058490841eb2e2907973cffc560e70c303c3812dd2085b0d2b80fa13
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

49 lines
No EOL
2.1 KiB
Text

import type { Context, TextMapGetter, TextMapSetter } from '@opentelemetry/api';
import { W3CBaggagePropagator } from '@opentelemetry/core';
import type { Client, continueTrace, DynamicSamplingContext, Options, Scope } from '@sentry/core';
import { LRUMap } 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[];
}
/**
* Check if a given URL should be propagated to or not.
* If no url is defined, or no trace propagation targets are defined, this will always return `true`.
* You can also optionally provide a decision map, to cache decisions and avoid repeated regex lookups.
*/
export declare function shouldPropagateTraceForUrl(url: string | undefined, tracePropagationTargets: Options['tracePropagationTargets'], decisionMap?: LRUMap<string, boolean>): boolean;
/**
* 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