@opentelemetry/core
Version:
OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.
11 lines • 415 B
text/typescript
//#region src/utils/url.d.ts
declare function urlMatches(url: string, urlToMatch: string | RegExp): boolean;
/**
* Check if {@param url} should be ignored when comparing against {@param ignoredUrls}
* @param url
* @param ignoredUrls
*/
declare function isUrlIgnored(url: string, ignoredUrls?: Array<string | RegExp>): boolean;
//#endregion
export { isUrlIgnored, urlMatches };
//# sourceMappingURL=url.d.cts.map