using MongoDB.Entities; namespace PrivaPub.Models.Statistics { public class InstanceDay : Entity { public DateTime Day { get; set; } public string Host { get; set; } public Dictionary Counters { get; set; } = new();//admin: every key public Dictionary PublicCounters { get; set; } = new();//all a public page may ever read public Dictionary Latency { get; set; } = new(); public Dictionary Waits { get; set; } = new(); public Dictionary Bytes { get; set; } = new(); public Dictionary Reads { get; set; } = new();//caused by reading (media proxy, lookups): counted live, never by the rollup public int Accounts { get; set; }//distinct remote accounts that day public DateTime? RolledUpAt { get; set; } } }