mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-25 17:41:57 -04:00
17 lines
660 B
C#
17 lines
660 B
C#
namespace Cleanuparr.Infrastructure.Stats;
|
|
|
|
/// <summary>
|
|
/// Service for aggregating application statistics
|
|
/// </summary>
|
|
public interface IStatsService
|
|
{
|
|
/// <summary>
|
|
/// Gets aggregated statistics for the given timeframe
|
|
/// </summary>
|
|
/// <param name="hours">Timeframe in hours (default 24)</param>
|
|
/// <param name="includeEvents">Number of recent events to include (0 = none)</param>
|
|
/// <param name="includeStrikes">Number of recent strikes to include (0 = none)</param>
|
|
/// <returns>Aggregated stats response</returns>
|
|
Task<StatsResponse> GetStatsAsync(int hours = 24, int includeEvents = 0, int includeStrikes = 0);
|
|
}
|