UNPKG

672 BTypeScriptView Raw
1import { Context } from '@opentelemetry/api';
2import { ReadableSpan } from './export/ReadableSpan';
3import { Span } from './Span';
4import { SpanProcessor } from './SpanProcessor';
5/**
6 * Implementation of the {@link SpanProcessor} that simply forwards all
7 * received events to a list of {@link SpanProcessor}s.
8 */
9export declare class MultiSpanProcessor implements SpanProcessor {
10 private readonly _spanProcessors;
11 constructor(_spanProcessors: SpanProcessor[]);
12 forceFlush(): Promise<void>;
13 onStart(span: Span, context: Context): void;
14 onEnd(span: ReadableSpan): void;
15 shutdown(): Promise<void>;
16}
17//# sourceMappingURL=MultiSpanProcessor.d.ts.map
\No newline at end of file