Class HeartbeatState
- Namespace
- Quilt4Net.Toolkit.Features.HeartbeatReporting
- Assembly
- Quilt4Net.Toolkit.dll
Heartbeat reporting as it stands.
public sealed record HeartbeatState : IEquatable<HeartbeatState>
- Inheritance
-
HeartbeatState
- Implements
- Inherited Members
Properties
Enabled
Reporting is on (Quilt4Net:HeartbeatReporting:Enabled).
public bool Enabled { get; init; }
Property Value
HasApiKey
A key is configured. The key itself is never exposed.
public bool HasApiKey { get; init; }
Property Value
Interval
public TimeSpan Interval { get; init; }
Property Value
LastAcceptedUtc
When Quilt4Net last accepted one.
public DateTime? LastAcceptedUtc { get; init; }
Property Value
LastAttemptUtc
public DateTime? LastAttemptUtc { get; init; }
Property Value
LastProblem
Why the last heartbeat was not accepted: the server's sentence, or the error. Null when it was.
public string LastProblem { get; init; }
Property Value
LastReport
The report last sent: application, environment, instance, version, capabilities, details and metrics. Null before the first.
public HeartbeatReport LastReport { get; init; }
Property Value
LastStatusCode
The HTTP status of the last answer; null when the call did not complete.
public int? LastStatusCode { get; init; }
Property Value
- int?
NextDueUtc
When the next one goes, on the interval.
public DateTime? NextDueUtc { get; init; }
Property Value
Quilt4NetAddress
public string Quilt4NetAddress { get; init; }