dd-trace
    Preparing search index...

    Interface LLMObsEnableOptions

    Options for enabling LLM Observability tracing.

    interface LLMObsEnableOptions {
        agentlessEnabled?: boolean;
        mlApp?: string;
        sampleRate?: number;
    }
    Index

    Properties

    agentlessEnabled?: boolean

    Set to true to disable sending data that requires a Datadog Agent.

    DD_LLMOBS_AGENTLESS_ENABLED Programmatic configuration takes precedence over the environment variables listed above.

    mlApp?: string

    The name of your ML application.

    DD_LLMOBS_ML_APP Programmatic configuration takes precedence over the environment variables listed above.

    sampleRate?: number

    The proportion of LLM Observability traces to sample, between 0 and 1 (inclusive). The decision is computed once per trace, propagated across services, and recorded on every span; spans are always sent and the decision is honored at ingestion time. Defaults to 1.

    DD_LLMOBS_SAMPLE_RATE Programmatic configuration takes precedence over the environment variables listed above.