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

    Type Alias AccumulationMetric

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

    Properties

    The interval at which data points are accumulated.

    name: string

    Timeseries name.

    Unit of the metric.

    values: [number, number][]

    Timeseries values. Each element is a tuple of a timestamp in Unix epoch seconds and a data point. The data point represents the accumulated value for the time period starting at the timestamp, spanning one interval.