@coralogix/browser
Version:
Official Coralogix SDK for browsers
9 lines (8 loc) • 669 B
TypeScript
import { SessionConfig, SessionRecordingConfig } from './session.model';
import { CoralogixBrowserSdkConfig } from '../types';
import { AlwaysOnSampler, Sampler } from '@opentelemetry/sdk-trace-base';
export declare function resolveSessionConfig(config: SessionConfig | undefined): SessionConfig;
export declare function resolveSessionRecordingConfig(config: SessionRecordingConfig | undefined): SessionRecordingConfig | undefined;
export declare function isSamplingOn(threshold: number): boolean;
export declare const isSessionWithError: () => boolean;
export declare function getResolvedSampler(resolvedOptions: CoralogixBrowserSdkConfig): AlwaysOnSampler | Sampler;