@grafana/faro-web-sdk
Version:
Faro instrumentations, metas, transports for web.
15 lines (14 loc) • 528 B
TypeScript
import type { Patterns } from '@grafana/faro-core';
/**
* Retrieves a list of URLs to be ignored by aggregating the ignore URLs from all transports.
*
* @returns {string[]} An array of URLs to be ignored.
*/
export declare function getIgnoreUrls(): Patterns;
/**
* Checks if the given URL should be ignored based on a list of ignored URLs.
*
* @param url - The URL to check.
* @returns `true` if the URL is in the list of ignored URLs, `false` otherwise.
*/
export declare function isUrlIgnored(url?: string): boolean;