Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
24 lines
789 B
Plaintext
24 lines
789 B
Plaintext
import { TracerProvider, Tracer as ApiTracer } from '@opentelemetry/api';
|
|
import { TracerConfig } from './types';
|
|
export declare enum ForceFlushState {
|
|
'resolved' = 0,
|
|
'timeout' = 1,
|
|
'error' = 2,
|
|
'unresolved' = 3
|
|
}
|
|
/**
|
|
* This class represents a basic tracer provider which platform libraries can extend
|
|
*/
|
|
export declare class BasicTracerProvider implements TracerProvider {
|
|
private readonly _config;
|
|
private readonly _tracers;
|
|
private readonly _resource;
|
|
private readonly _activeSpanProcessor;
|
|
constructor(config?: TracerConfig);
|
|
getTracer(name: string, version?: string, options?: {
|
|
schemaUrl?: string;
|
|
}): ApiTracer;
|
|
forceFlush(): Promise<void>;
|
|
shutdown(): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=BasicTracerProvider.d.ts.map |