20 lines
653 B
TypeScript
20 lines
653 B
TypeScript
|
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;
|
||
|
}
|