package com.cameleer.server.core.search;

import java.time.Instant;
import java.util.List;

public record StatsTimeseries(
    List<TimeseriesBucket> buckets
) {
    public record TimeseriesBucket(
        Instant time,
        long totalCount,
        long failedCount,
        long avgDurationMs,
        long p99DurationMs,
        long activeCount
    ) {}
}
