@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias AgentInstanceMetricsDelta

    Metric increments to apply to the agent instance aggregate counters. The engine accumulates these deltas into running totals on each UPDATED event. All fields are optional; omit a field to leave the corresponding counter unchanged.

    type AgentInstanceMetricsDelta = {
        inputTokens?: number;
        modelCalls?: number;
        outputTokens?: number;
        toolCalls?: number;
    }
    Index

    Properties

    inputTokens?: number

    Increment to apply to the total input token counter.

    modelCalls?: number

    Increment to apply to the total model call counter.

    outputTokens?: number

    Increment to apply to the total output token counter.

    toolCalls?: number

    Increment to apply to the total tool call counter.