Configuration Reference

    Every `init()` option, in both SDKs, with defaults.

    PythonTypeScriptDefaultNotes
    subscription_keysubscriptionKeyRequired. From Settings → Tracing.
    base_urlbaseUrlhosted ingestTrace ingest endpoint; override for self-hosting.
    api_urlapiUrlhosted control-planeScenario generation / control-plane endpoint.
    service_nameserviceName"unknown"Service label shown on every span in the dashboard.
    environmentenvironmentNonedevelopment \| staging \| production.
    app_versionappVersionNonee.g. "1.2.3" — shown alongside spans.
    device_iddeviceIdNoneStable client/device id, for per-device APM analytics.
    debugdebugfalseLogs span exports to stdout.
    max_export_batch_sizemaxExportBatchSize512Spans per export batch.
    scheduled_delay_msscheduledDelayMillis5000Export interval, in ms.
    max_queue_size4096Python only — max buffered spans before drop.
    max_body_bytesmaxBodyBytes10 MBMax captured HTTP/LLM body size per span.
    function_tracingtruePython only — auto-trace your app’s own functions on import. Also via env EVALKIT_FUNCTION_TRACE=false.
    trace_packagesNonePython only — extra package names to auto-trace beyond the caller’s directory (e.g. sibling packages).
    Self-hosting the ingest/control-plane services yourself? Point base_url/baseUrl at your trace-service and api_url/apiUrl at your orchestrator — everything else about the SDK is unchanged.

    EvalKit is built by Syntropylabs. Published on PyPI and npm.