Class HeartbeatMetric
- Namespace
- Quilt4Net.Toolkit.Features.HeartbeatReporting
- Assembly
- Quilt4Net.Toolkit.dll
One value measured at a heartbeat, such as cpu.process or memory in percent, or one of
the application's own added with AddMetric(string, Func<double>, string).
Quilt4Net keeps them for 100 days and graphs them per instance.
public record HeartbeatMetric : IEquatable<HeartbeatMetric>
- Inheritance
-
HeartbeatMetric
- Implements
- Inherited Members
Constructors
HeartbeatMetric(string, double, string)
One value measured at a heartbeat, such as cpu.process or memory in percent, or one of
the application's own added with AddMetric(string, Func<double>, string).
Quilt4Net keeps them for 100 days and graphs them per instance.
public HeartbeatMetric(string Name, double Value, string Unit = null)
Parameters
NamestringUnique within a report, at most 64 characters.
ValuedoubleA finite number.
UnitstringWhat the value counts, such as
percent. Optional.
Properties
Name
Unique within a report, at most 64 characters.
public string Name { get; init; }
Property Value
Unit
What the value counts, such as percent. Optional.
public string Unit { get; init; }
Property Value
Value
A finite number.
public double Value { get; init; }