@vtex/diagnostics-nodejs
Version:
Diagnostics library for Node.js applications
10 lines • 426 B
TypeScript
import { Context } from '@opentelemetry/api';
import { ReadableSpan, Span, SpanProcessor } from '@opentelemetry/sdk-trace-base';
export declare class VtexAttributesSpanProcessor implements SpanProcessor {
constructor();
onStart(span: Span, parentContext: Context): void;
onEnd(span: ReadableSpan): void;
shutdown(): Promise<void>;
forceFlush(): Promise<void>;
}
//# sourceMappingURL=span-processor.d.ts.map