Files
klz-cables.com/.pnpm-store/v10/files/2a/381ec8f250cdd2aa447a674ada43dca506dc24022f1d9c82509bab087813f4a92a0a8cd60dc27a27dc06f138a5ad3f9cadd719837b68d4af0bd9ced6252c68
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

28 lines
1.3 KiB
Plaintext

import type { SpanProcessor } from '@opentelemetry/sdk-trace-base';
import { BasicTracerProvider } from '@opentelemetry/sdk-trace-base';
import { type NodeClient } from '@sentry/node-core';
import { type AsyncLocalStorageLookup } from '@sentry/opentelemetry';
interface AdditionalOpenTelemetryOptions {
/** Additional SpanProcessor instances that should be used. */
spanProcessors?: SpanProcessor[];
}
/**
* Initialize OpenTelemetry for Node.
*/
export declare function initOpenTelemetry(client: NodeClient, options?: AdditionalOpenTelemetryOptions): 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, AsyncLocalStorageLookup];
/** Just exported for tests. */
export declare function _clampSpanProcessorTimeout(maxSpanWaitDuration: number | undefined): number | undefined;
export {};
//# sourceMappingURL=initOtel.d.ts.map