@grafana/faro-web-sdk
Version:
Faro instrumentations, metas, transports for web.
12 lines (11 loc) • 446 B
TypeScript
import type { Config, LogLevel } from '@grafana/faro-core';
export interface BrowserConfig extends Partial<Omit<Config, 'app' | 'parseStacktrace'>>, Pick<Config, 'app'> {
url?: string;
apiKey?: string;
}
export interface GetWebInstrumentationsOptions {
captureConsole?: boolean;
captureConsoleDisabledLevels?: LogLevel[];
enablePerformanceInstrumentation?: boolean;
enableContentSecurityPolicyInstrumentation?: boolean;
}