mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-09-13 05:47:33 -04:00
28 lines
780 B
C#
28 lines
780 B
C#
namespace Cleanuparr.Infrastructure.Stats;
|
|
|
|
/// <summary>
|
|
/// Scheduled job run outcomes for the timeframe. Job runs are recorded regardless of dry-run mode.
|
|
/// </summary>
|
|
public class JobV2Stats
|
|
{
|
|
/// <summary>
|
|
/// Total job runs in the timeframe across all job types.
|
|
/// </summary>
|
|
public int Total { get; set; }
|
|
|
|
/// <summary>
|
|
/// Job runs that completed successfully.
|
|
/// </summary>
|
|
public int Completed { get; set; }
|
|
|
|
/// <summary>
|
|
/// Job runs that failed.
|
|
/// </summary>
|
|
public int Failed { get; set; }
|
|
|
|
/// <summary>
|
|
/// Per-job-type run stats. Keys are PascalCase job-type names (QueueCleaner, MalwareBlocker, ...).
|
|
/// </summary>
|
|
public Dictionary<string, JobTypeV2Stats> ByType { get; set; } = new();
|
|
}
|