Table of Contents

Class MetricsSnapshot

Namespace
Moongate.Server.Metrics.Data
Assembly
Moongate.Server.Metrics.dll

Holds the last metrics snapshot collected by the metrics service.

public sealed class MetricsSnapshot
Inheritance
MetricsSnapshot
Inherited Members

Constructors

MetricsSnapshot(DateTimeOffset, IReadOnlyDictionary<string, MetricSample>)

public MetricsSnapshot(DateTimeOffset collectedAt, IReadOnlyDictionary<string, MetricSample> metrics)

Parameters

collectedAt DateTimeOffset
metrics IReadOnlyDictionary<string, MetricSample>

Properties

CollectedAt

public DateTimeOffset CollectedAt { get; }

Property Value

DateTimeOffset

Metrics

public IReadOnlyDictionary<string, MetricSample> Metrics { get; }

Property Value

IReadOnlyDictionary<string, MetricSample>