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
28 lines
962 B
Plaintext
28 lines
962 B
Plaintext
import { Sampler } from './Sampler';
|
|
/**
|
|
* Load default configuration. For fields with primitive values, any user-provided
|
|
* value will override the corresponding default value. For fields with
|
|
* non-primitive values (like `spanLimits`), the user-provided value will be
|
|
* used to extend the default value.
|
|
*/
|
|
export declare function loadDefaultConfig(): {
|
|
sampler: Sampler;
|
|
forceFlushTimeoutMillis: number;
|
|
generalLimits: {
|
|
attributeValueLengthLimit: number;
|
|
attributeCountLimit: number;
|
|
};
|
|
spanLimits: {
|
|
attributeValueLengthLimit: number;
|
|
attributeCountLimit: number;
|
|
linkCountLimit: number;
|
|
eventCountLimit: number;
|
|
attributePerEventCountLimit: number;
|
|
attributePerLinkCountLimit: number;
|
|
};
|
|
};
|
|
/**
|
|
* Based on environment, builds a sampler, complies with specification.
|
|
*/
|
|
export declare function buildSamplerFromEnv(): Sampler;
|
|
//# sourceMappingURL=config.d.ts.map |