@coralogix/browser
Version:
Official Coralogix SDK for browsers
11 lines (10 loc) • 395 B
TypeScript
import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation';
export declare class CoralogixLongTaskInstrumentation extends InstrumentationBase {
private longTaskObserver;
constructor(config: InstrumentationConfig);
private registerToLongTasks;
private createSpanFromLongTask;
enable(): void;
disable(): void;
protected init(): void;
}