17 lines
635 B
C#
17 lines
635 B
C#
using MongoDB.Entities;
|
|||
|
|
|
||
|
|
namespace PrivaPub.Models.Statistics
|
||
|
|
{
|
||
|
|
public class ServerDay : Entity
|
||
|
|
{
|
||
|
|
public DateTime Day { get; set; }
|
||
|
|
public Dictionary<string, long> Client { get; set; } = new();//client API per endpoint group, method and status class
|
||
|
|
public Dictionary<string, long> ClientLatency { get; set; } = new();
|
||
|
|
public Dictionary<string, long> Served { get; set; } = new();//our own documents fetched, never per server
|
||
|
|
public long LedgerWritten { get; set; }
|
||
|
|
public long LedgerDropped { get; set; }
|
||
|
|
public long LedgerFailed { get; set; }
|
||
|
|
public int Accounts { get; set; }
|
||
|
|
public int Hosts { get; set; }
|
||
|
|
}
|
||
|
|
}
|