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

    Type Alias AccumulationMetric

    Generated API types re-exported for convenience.

    These mirror the server REST resources and payloads.

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

    Properties

    bucket_length: TimeseriesInterval

    The duration of bucket for the accumulation.

    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 a bucket of time starting at the provided timestamp, lasting for the duration of the bucket_length parameter.