API/api.medcify.app/node_modules/@pm2/io/build/main/census/tracer.d.ts

20 lines
653 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
import * as core from '@opencensus/core';
export declare class Tracing implements core.Tracing {
readonly tracer: core.Tracer;
private pluginLoader;
private defaultPlugins;
private configLocal;
private logger;
private static singletonInstance;
private activeLocal;
constructor();
static readonly instance: core.Tracing;
readonly active: boolean;
readonly config: core.Config;
start(userConfig?: core.Config): core.Tracing;
stop(): void;
readonly exporter: core.Exporter;
registerExporter(exporter: core.Exporter): core.Tracing;
unregisterExporter(exporter: core.Exporter): core.Tracing;
}