A data source config which specifies the metadata property of your logs query. This is usually metadata like usecase=chatbot or prompt-version=v2, etc.

interface Logs {
    metadata?: {
        [key: string]: unknown;
    };
    type: "logs";
}

Properties

Properties

metadata?: {
    [key: string]: unknown;
}

Metadata filters for the logs data source.

type: "logs"

The type of data source. Always logs.