mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-09-13 05:47:33 -04:00
18 lines
503 B
C#
18 lines
503 B
C#
namespace Cleanuparr.Infrastructure.Stats;
|
|
|
|
/// <summary>
|
|
/// A single point in a timeline series: the count of a metric within one bucket.
|
|
/// </summary>
|
|
public class TimelineBucketDto
|
|
{
|
|
/// <summary>
|
|
/// Start of the bucket (UTC). Granularity depends on the requested bucket size (hour, day, week, month).
|
|
/// </summary>
|
|
public DateTimeOffset Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// Count of the metric within this bucket.
|
|
/// </summary>
|
|
public int Count { get; set; }
|
|
}
|