Class CapCycle
- Namespace
- Quilt4Net.Toolkit.Features.ApplicationInsights
- Assembly
- Quilt4Net.Toolkit.dll
One cap cycle — the quota period from a reset to the next reset. Unlike a calendar day this aligns to the cap, so a cycle has at most one cap hit and a single clean capped span (hit → next reset).
public record CapCycle : IEquatable<CapCycle>
- Inheritance
-
CapCycle
- Implements
- Inherited Members
Properties
CapHitUtc
When the cap was hit in this cycle (UTC), or null if it wasn't.
public DateTime? CapHitUtc { get; init; }
Property Value
CappedDuration
How long the cycle was capped (hit → next reset). null when not hit.
public TimeSpan? CappedDuration { get; init; }
Property Value
EndUtc
The next reset (UTC) — the end of the cycle.
public required DateTime EndUtc { get; init; }
Property Value
EstimatedUncappedGb
Estimated uncapped volume (GB) for the cycle, extrapolated from the uncapped portion.
public double? EstimatedUncappedGb { get; init; }
Property Value
IngestedGb
Billed volume ingested during the cycle (GB).
public required double IngestedGb { get; init; }
Property Value
StartUtc
When the quota reset and collection resumed (UTC) — the start of the cycle.
public required DateTime StartUtc { get; init; }