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
498 B
Plaintext
12 lines
498 B
Plaintext
import { Sampler, SamplingResult } from '../Sampler';
|
|
/** Sampler that samples a given fraction of traces based of trace id deterministically. */
|
|
export declare class TraceIdRatioBasedSampler implements Sampler {
|
|
private readonly _ratio;
|
|
private _upperBound;
|
|
constructor(ratio?: number);
|
|
shouldSample(context: unknown, traceId: string): SamplingResult;
|
|
toString(): string;
|
|
private _normalize;
|
|
private _accumulate;
|
|
}
|
|
//# sourceMappingURL=TraceIdRatioBasedSampler.d.ts.map |