using System.Collections.Generic;

namespace EonaCat.LogStack.Telemetry;

public sealed class TelemetryEngineSnapshot
{
    public long TotalEvents { get; set; }
    public Dictionary<string, TelemetrySignalSnapshot> Signals { get; } = new();
}

public sealed class TelemetrySignalSnapshot
{
    public string Name { get; set; } = string.Empty;
    public long Count { get; set; }
    public double Average { get; set; }
    public double Min { get; set; }
    public double Max { get; set; }
    public bool IsAnomaly { get; set; }
}
