Table of Contents

Class HeartbeatReport

Namespace
Quilt4Net.Toolkit.Features.HeartbeatReporting
Assembly
Quilt4Net.Toolkit.dll

One heartbeat, as sent to Quilt4Net.

public record HeartbeatReport : IEquatable<HeartbeatReport>
Inheritance
HeartbeatReport
Implements
Inherited Members

Constructors

HeartbeatReport(string, string, string, string, string[])

One heartbeat, as sent to Quilt4Net.

public HeartbeatReport(string Application, string Environment, string Instance, string Version, string[] Capabilities)

Parameters

Application string

The reporting application.

Environment string

The reporting environment, if known.

Instance string

The reporting machine or instance.

Version string

The application's version, if known.

Capabilities string[]

What this instance can do.

Properties

Application

The reporting application.

public string Application { get; init; }

Property Value

string

Capabilities

What this instance can do.

public string[] Capabilities { get; init; }

Property Value

string[]

Environment

The reporting environment, if known.

public string Environment { get; init; }

Property Value

string

Instance

The reporting machine or instance.

public string Instance { get; init; }

Property Value

string

IntervalSeconds

How often this instance reports, so Quilt4Net knows when it has gone silent.

public int? IntervalSeconds { get; init; }

Property Value

int?

MachineName

The machine's own name, even when Instance is set to something else.

public string MachineName { get; init; }

Property Value

string

Metrics

Values measured at this heartbeat: the built-in processor and memory use, and the application's own. Empty when none are configured.

public HeartbeatMetric[] Metrics { get; init; }

Property Value

HeartbeatMetric[]

OperatingSystem

The operating system, such as Microsoft Windows 10.0.26100.

public string OperatingSystem { get; init; }

Property Value

string

ProcessorCount

How many processors the instance sees.

public int? ProcessorCount { get; init; }

Property Value

int?

Runtime

The runtime, such as .NET 10.0.1.

public string Runtime { get; init; }

Property Value

string

StartedUtc

When the process started, so Quilt4Net shows its uptime and its restarts.

public DateTime? StartedUtc { get; init; }

Property Value

DateTime?

ToolkitVersion

The Quilt4Net Toolkit version sending the heartbeat.

public string ToolkitVersion { get; init; }

Property Value

string

Version

The application's version, if known.

public string Version { get; init; }

Property Value

string