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
27 lines
767 B
Plaintext
27 lines
767 B
Plaintext
import type { Context } from '@opentelemetry/api';
|
|
import type { ReadableSpan, Span, SpanProcessor as SpanProcessorInterface } from '@opentelemetry/sdk-trace-base';
|
|
/**
|
|
* Converts OpenTelemetry Spans to Sentry Spans and sends them to Sentry via
|
|
* the Sentry SDK.
|
|
*/
|
|
export declare class SentrySpanProcessor implements SpanProcessorInterface {
|
|
private _exporter;
|
|
constructor(options?: {
|
|
timeout?: number;
|
|
});
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
forceFlush(): Promise<void>;
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
shutdown(): Promise<void>;
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
onStart(span: Span, parentContext: Context): void;
|
|
/** @inheritDoc */
|
|
onEnd(span: Span & ReadableSpan): void;
|
|
}
|
|
//# sourceMappingURL=spanProcessor.d.ts.map |