Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
12 lines
688 B
Plaintext
12 lines
688 B
Plaintext
import type { ClientOptions } from '../types-hoist/options';
|
|
import type { SpanJSON } from '../types-hoist/span';
|
|
/**
|
|
* Check if a span should be ignored based on the ignoreSpans configuration.
|
|
*/
|
|
export declare function shouldIgnoreSpan(span: Pick<SpanJSON, 'description' | 'op'>, ignoreSpans: Required<ClientOptions>['ignoreSpans']): boolean;
|
|
/**
|
|
* Takes a list of spans, and a span that was dropped, and re-parents the child spans of the dropped span to the parent of the dropped span, if possible.
|
|
* This mutates the spans array in place!
|
|
*/
|
|
export declare function reparentChildSpans(spans: SpanJSON[], dropSpan: SpanJSON): void;
|
|
//# sourceMappingURL=should-ignore-span.d.ts.map |