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>
29 lines
No EOL
1.3 KiB
Text
29 lines
No EOL
1.3 KiB
Text
import type { SpanProcessor } from '@opentelemetry/sdk-trace-base';
|
|
import { BasicTracerProvider } from '@opentelemetry/sdk-trace-base';
|
|
import { type NodeClient } from '@sentry/node-core';
|
|
interface AdditionalOpenTelemetryOptions {
|
|
/** Additional SpanProcessor instances that should be used. */
|
|
spanProcessors?: SpanProcessor[];
|
|
}
|
|
/**
|
|
* Initialize OpenTelemetry for Node.
|
|
*/
|
|
export declare function initOpenTelemetry(client: NodeClient, options?: AdditionalOpenTelemetryOptions): void;
|
|
/** Initialize the ESM loader. */
|
|
export declare function maybeInitializeEsmLoader(): void;
|
|
interface NodePreloadOptions {
|
|
debug?: boolean;
|
|
integrations?: string[];
|
|
}
|
|
/**
|
|
* Preload OpenTelemetry for Node.
|
|
* This can be used to preload instrumentation early, but set up Sentry later.
|
|
* By preloading the OTEL instrumentation wrapping still happens early enough that everything works.
|
|
*/
|
|
export declare function preloadOpenTelemetry(options?: NodePreloadOptions): void;
|
|
/** Just exported for tests. */
|
|
export declare function setupOtel(client: NodeClient, options?: AdditionalOpenTelemetryOptions): BasicTracerProvider;
|
|
/** Just exported for tests. */
|
|
export declare function _clampSpanProcessorTimeout(maxSpanWaitDuration: number | undefined): number | undefined;
|
|
export {};
|
|
//# sourceMappingURL=initOtel.d.ts.map |