tech stats
All checks were successful
API and ETL Build / build_api (push) Successful in 37s
API and ETL Build / build_etl (push) Successful in 39s

This commit is contained in:
2025-06-19 21:41:16 -03:00
parent ecbf2f07d6
commit 965b693a19
6 changed files with 105 additions and 8 deletions

View File

@@ -11,12 +11,34 @@
public class DataAvailabilityStats
{
public List<int> Candidatos { get; set; }
public List<int> BemCandidatos { get; set; }
public List<int> DespesaCandidatos { get; set; }
public List<int> ReceitaCandidatos { get; set; }
public List<int> RedeSocialCandidatos { get; set; }
public List<int> FotosCandidatos { get; set; }
public List<int> Candidatos { get; set; } = new List<int>();
public List<int> BemCandidatos { get; set; } = new List<int>();
public List<int> DespesaCandidatos { get; set; } = new List<int>();
public List<int> ReceitaCandidatos { get; set; } = new List<int>();
public List<int> RedeSocialCandidatos { get; set; } = new List<int>();
public List<int> FotosCandidatos { get; set; } = new List<int>();
}
public class DatabaseTechStats
{
public List<TableStats> Tables { get; set; } = new List<TableStats>();
public List<TableStats> MaterializedViews { get; set; } = new List<TableStats>();
public IndexStats Indexes { get; set; } = new IndexStats();
public long TotalSize { get; set; }
public long TotalEntries { get; set; }
}
public class TableStats
{
public string Name { get; set; } = string.Empty;
public long TotalSize { get; set; }
public long Entries { get; set; }
}
public class IndexStats
{
public int Amount { get; set; }
public long Size { get; set; }
}
}