@s2-dev/streamstore - v0.22.0
    Preparing search index...

    Interface AccumulationMetric

    An accumulation metric with timeseries values aggregated over an interval.

    interface AccumulationMetric {
        interval: TimeseriesInterval;
        name: string;
        unit: MetricUnit;
        values: [Date, number][];
    }
    Index

    Properties

    The interval at which data points are accumulated.

    name: string

    Timeseries name.

    Unit of the metric.

    values: [Date, number][]

    Timeseries values. Each element is a pair [timestamp, value].