Files
klz-cables.com/.pnpm-store/v10/files/c6/ad9fca2dba0fd4487d4001e3654539bb967672dfd3adf2e86ca8397acee2950748f958aa4ee5c309fb4773af89779cb4ba80c9f6f82ae49d59d5d9ddde5d15
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

39 lines
1.8 KiB
Plaintext

import { Tracer } from '@opentelemetry/api';
import { BasicTracerProvider } from '@opentelemetry/sdk-trace-base';
import { DynamicSamplingContext, Scope, TraceContext } from '@sentry/core';
import { ServerRuntimeClient } from '@sentry/core';
import { AsyncLocalStorageLookup } from '@sentry/opentelemetry';
import { NodeClientOptions } from '../types';
/** A client for using Sentry with Node & OpenTelemetry. */
export declare class NodeClient extends ServerRuntimeClient<NodeClientOptions> {
traceProvider: BasicTracerProvider | undefined;
asyncLocalStorageLookup: AsyncLocalStorageLookup | undefined;
private _tracer;
private _clientReportInterval;
private _clientReportOnExitFlushListener;
private _logOnExitFlushListener;
constructor(options: NodeClientOptions);
/*Get the OTEL tracer. */
readonly tracer: Tracer;
/** @inheritDoc */
flush(timeout?: number): PromiseLike<boolean>;
/** @inheritDoc */
close(timeout?: number | undefined): PromiseLike<boolean>;
/**
* Will start tracking client reports for this client.
*
* NOTICE: This method will create an interval that is periodically called and attach a `process.on('beforeExit')`
* hook. To clean up these resources, call `.close()` when you no longer intend to use the client. Not doing so will
* result in a memory leak.
*/
startClientReportTracking(): void;
/** @inheritDoc */
protected _setupIntegrations(): void;
/** Custom implementation for OTEL, so we can handle scope-span linking. */
protected _getTraceInfoFromScope(scope: Scope | undefined): [
/*dynamicSamplingContext*/ Partial<DynamicSamplingContext> | undefined,
/*traceContext*/ TraceContext | undefined
];
}
//# sourceMappingURL=client.d.ts.map