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
ApplicationstringThe reporting application.
EnvironmentstringThe reporting environment, if known.
InstancestringThe reporting machine or instance.
VersionstringThe application's version, if known.
Capabilitiesstring[]What this instance can do.
Properties
Application
The reporting application.
public string Application { get; init; }
Property Value
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
Instance
The reporting machine or instance.
public string Instance { get; init; }
Property Value
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
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
OperatingSystem
The operating system, such as Microsoft Windows 10.0.26100.
public string OperatingSystem { get; init; }
Property Value
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
StartedUtc
When the process started, so Quilt4Net shows its uptime and its restarts.
public DateTime? StartedUtc { get; init; }
Property Value
ToolkitVersion
The Quilt4Net Toolkit version sending the heartbeat.
public string ToolkitVersion { get; init; }
Property Value
Version
The application's version, if known.
public string Version { get; init; }