Class CapDay
- Namespace
- Quilt4Net.Toolkit.Features.ApplicationInsights
- Assembly
- Quilt4Net.Toolkit.dll
One UTC day of the ingestion-cap timeline: how much was ingested, how long the workspace was capped (no billable data) that day, when data resumed, and an estimate of the uncapped volume.
public record CapDay : IEquatable<CapDay>
- Inheritance
-
CapDay
- Implements
- Inherited Members
Properties
CappedIntervals
The capped sub-intervals within this UTC day (clipped to the day) — a day can have a carry-over gap at the start and a fresh cap later, so there may be more than one.
public IReadOnlyList<CappedInterval> CappedIntervals { get; init; }
Property Value
DateUtc
The UTC day (midnight) this entry covers.
public required DateTime DateUtc { get; init; }
Property Value
EstimatedUncappedGb
Estimated full-day volume (GB) had the cap not stopped ingestion — extrapolated from the volume
ingested over the uncapped hours of the day. null when the day wasn't capped.
public double? EstimatedUncappedGb { get; init; }
Property Value
GapDuration
Total time that day with no billable ingestion attributable to the cap (a bounded no-data gap).
Includes both a carry-over gap at the start of the day and a new cap later the same day.
null/zero when the day wasn't capped.
public TimeSpan? GapDuration { get; init; }
Property Value
IngestedGb
Billed volume ingested that day (GB).
public required double IngestedGb { get; init; }
Property Value
ResumeUtc
When billable data first resumed that day after a cap (UTC) — i.e. the observed reset.
null when the day didn't start (or continue) under a cap.
public DateTime? ResumeUtc { get; init; }