Table of Contents

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

bool

HasApiKey

A key is configured. The key itself is never exposed.

public bool HasApiKey { get; init; }

Property Value

bool

Interval

public TimeSpan Interval { get; init; }

Property Value

TimeSpan

LastAcceptedUtc

When Quilt4Net last accepted one.

public DateTime? LastAcceptedUtc { get; init; }

Property Value

DateTime?

LastAttemptUtc

public DateTime? LastAttemptUtc { get; init; }

Property Value

DateTime?

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

string

LastReport

The report last sent: application, environment, instance, version, capabilities, details and metrics. Null before the first.

public HeartbeatReport LastReport { get; init; }

Property Value

HeartbeatReport

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

DateTime?

Quilt4NetAddress

public string Quilt4NetAddress { get; init; }

Property Value

string