Struct MetricSnapshotPoint

Assembly: redb.Route.dll

One reading of one instrument: how many measurements, their sum, the extremes, and the last
value. For a counter the measurements are deltas, so is the running total;
for a histogram they are recorded values, so all five fields are meaningful.

public readonly record struct MetricSnapshotPoint : IEquatable<MetricSnapshotPoint>

Implements

Properties

Count

public long Count { get; init; }

Last

public double Last { get; init; }

Max

public double Max { get; init; }

Min

public double Min { get; init; }

Sum

public double Sum { get; init; }

Constructors

MetricSnapshotPoint(long, double, double, double, double)

One reading of one instrument: how many measurements, their sum, the extremes, and the last