Applies a function over a sliding window in histogram buckets

interface MovingFunctionAggregate {
    movingFunction: {
        bucketsPath: string;
        function: MovingFunctionType;
        window: number;
    };
}

Properties

Properties

movingFunction: {
    bucketsPath: string;
    function: MovingFunctionType;
    window: number;
}

Type declaration

  • bucketsPath: string

    Path to the metric from parent aggregate (use "_count" for bucket count)

  • function: MovingFunctionType

    Function to execute on each window

  • window: number

    Size of the sliding window