Update test framework: fix run_tests.py to support all test files, add auto-import-check for test files

This commit is contained in:
qiaoxinjiu
2026-05-09 15:11:30 +08:00
parent eb053a347f
commit eaba8328da
21739 changed files with 2236758 additions and 719 deletions

View File

@@ -0,0 +1,28 @@
import type { 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