Files
klz-cables.com/.pnpm-store/v10/files/b2/f4cbee7c597275c8e2c6e42eab07f165949eaac3b01e7876c5a20813e83eecf3cc67110b2344f1d3b218505414b35a502b3d3fce438897a0b59e35f258009a
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

49 lines
1.9 KiB
Plaintext

import type { Span } from '../types-hoist/span';
import type { StartSpanOptions } from '../types-hoist/startSpanOptions';
export declare const TRACING_DEFAULTS: {
idleTimeout: number;
finalTimeout: number;
childSpanTimeout: number;
};
interface IdleSpanOptions {
/**
* The time that has to pass without any span being created.
* If this time is exceeded, the idle span will finish.
*/
idleTimeout: number;
/**
* The max. time an idle span may run.
* If this time is exceeded, the idle span will finish no matter what.
*/
finalTimeout: number;
/**
* The max. time a child span may run.
* If the time since the last span was started exceeds this time, the idle span will finish.
*/
childSpanTimeout?: number;
/**
* When set to `true`, will disable the idle timeout and child timeout
* until the `idleSpanEnableAutoFinish` hook is emitted for the idle span.
* The final timeout mechanism will not be affected by this option,
* meaning the idle span will definitely be finished when the final timeout is
* reached, no matter what this option is configured to.
*
* Defaults to `false`.
*/
disableAutoFinish?: boolean;
/** Allows to configure a hook that is called when the idle span is ended, before it is processed. */
beforeSpanEnd?: (span: Span) => void;
/**
* If set to `true`, the idle span will be trimmed to the latest span end timestamp of its children.
*
* @default `true`.
*/
trimIdleSpanEndTimestamp?: boolean;
}
/**
* An idle span is a span that automatically finishes. It does this by tracking child spans as activities.
* An idle span is always the active span.
*/
export declare function startIdleSpan(startSpanOptions: StartSpanOptions, options?: Partial<IdleSpanOptions>): Span;
export {};
//# sourceMappingURL=idleSpan.d.ts.map