Rocky_Mountain_Vending/.pnpm-store/v10/files/e4/8ae617d6d84b2721b1ac60d8df580311bfd6f94e4e2c287de82ea6ff8dc3d6ee7d8a4091d35032d88b999dbee335d9d1775ca9fc619913c965e649fb4783b8
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

45 lines
1.9 KiB
Text

import { InstrumentationConfig, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation';
import { InstrumentationBase } from '@opentelemetry/instrumentation';
interface RecordingOptions {
recordInputs?: boolean;
recordOutputs?: boolean;
}
/**
* Determines whether to record inputs and outputs for Vercel AI telemetry based on the configuration hierarchy.
*
* The order of precedence is:
* 1. The vercel ai integration options
* 2. The experimental_telemetry options in the vercel ai method calls
* 3. When telemetry is explicitly enabled (isEnabled: true), default to recording
* 4. Otherwise, use the sendDefaultPii option from client options
*/
export declare function determineRecordingSettings(integrationRecordingOptions: RecordingOptions | undefined, methodTelemetryOptions: RecordingOptions, telemetryExplicitlyEnabled: boolean | undefined, defaultRecordingEnabled: boolean): {
recordInputs: boolean;
recordOutputs: boolean;
};
/**
* This detects is added by the Sentry Vercel AI Integration to detect if the integration should
* be enabled.
*
* It also patches the `ai` module to enable Vercel AI telemetry automatically for all methods.
*/
export declare class SentryVercelAiInstrumentation extends InstrumentationBase {
private _isPatched;
private _callbacks;
constructor(config?: InstrumentationConfig);
/**
* Initializes the instrumentation by defining the modules to be patched.
*/
init(): InstrumentationModuleDefinition;
/**
* Call the provided callback when the module is patched.
* If it has already been patched, the callback will be called immediately.
*/
callWhenPatched(callback: () => void): void;
/**
* Patches module exports to enable Vercel AI telemetry.
*/
private _patch;
}
export {};
//# sourceMappingURL=instrumentation.d.ts.map