Interface ClientConfig

interface ClientConfig {
    anonymizer?: (values: KVMap) => KVMap;
    apiKey?: string;
    apiUrl?: string;
    autoBatchTracing?: boolean;
    batchSizeBytesLimit?: number;
    blockOnRootRunFinalization?: boolean;
    callerOptions?: AsyncCallerParams;
    fetchOptions?: RequestInit;
    hideInputs?: boolean | (inputs: KVMap) => KVMap;
    hideOutputs?: boolean | (outputs: KVMap) => KVMap;
    manualFlushMode?: boolean;
    timeout_ms?: number;
    traceBatchConcurrency?: number;
    webUrl?: string;
}

Properties

anonymizer?: (values: KVMap) => KVMap
apiKey?: string
apiUrl?: string
autoBatchTracing?: boolean
batchSizeBytesLimit?: number
blockOnRootRunFinalization?: boolean
callerOptions?: AsyncCallerParams
fetchOptions?: RequestInit
hideInputs?: boolean | (inputs: KVMap) => KVMap
hideOutputs?: boolean | (outputs: KVMap) => KVMap
manualFlushMode?: boolean

Whether to require manual .flush() calls before sending traces. Useful if encountering network rate limits at trace high volumes.

timeout_ms?: number
traceBatchConcurrency?: number
webUrl?: string