%PDF- %PDF-
Direktori : /proc/2/cwd/usr/lib/node_modules/pm2/node_modules/@pm2/io/build/main/census/ |
Current File : //proc/2/cwd/usr/lib/node_modules/pm2/node_modules/@pm2/io/build/main/census/exporter.d.ts |
import { TracingConfig } from 'src/features/tracing'; import { Exporter, ExporterBuffer, ExporterConfig, RootSpan } from '@opencensus/core'; export interface ZipkinExporterOptions extends ExporterConfig { serviceName: string; } export declare class CustomCensusExporter implements Exporter { private config; private transport; buffer: ExporterBuffer; constructor(config: TracingConfig); onEndSpan(root: RootSpan): void; onStartSpan(root: RootSpan): void; private sendTraces; private mountSpanList; private translateSpan; publish(rootSpans: RootSpan[]): Promise<any>; private getSpanKind; }