Table of Contents

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

Name string

Unique within a report, at most 64 characters.

Value double

A finite number.

Unit string

What the value counts, such as percent. Optional.

Properties

Name

Unique within a report, at most 64 characters.

public string Name { get; init; }

Property Value

string

Unit

What the value counts, such as percent. Optional.

public string Unit { get; init; }

Property Value

string

Value

A finite number.

public double Value { get; init; }

Property Value

double