@coralogix/browser
Version:
Official Coralogix SDK for browsers
15 lines (14 loc) • 691 B
TypeScript
import { CoralogixOtelWebType } from '../../types';
import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation';
import { CoralogixErrorInstrumentation } from '../CoralogixErrorInstrumentation';
export declare class CoralogixWorkerInstrumentation extends InstrumentationBase {
private errorInstrumentation;
coralogixRum: CoralogixOtelWebType;
constructor(config: InstrumentationConfig, errorInstrumentation: CoralogixErrorInstrumentation | undefined, coralogixRum: CoralogixOtelWebType);
disable(): void;
enable(): void;
init(): void;
private createCxWorker;
private attachWorkerErrorHandlers;
private reportWorkerError;
}