Table of Contents

Class AlertHistory

Namespace
DotCompute.Backends.Metal.Telemetry
Assembly
DotCompute.Backends.Metal.dll

Alert history

public sealed class AlertHistory
Inheritance
AlertHistory
Inherited Members

Constructors

AlertHistory(string)

Alert history

public AlertHistory(string alertKey)

Parameters

alertKey string

Properties

AlertKey

public string AlertKey { get; }

Property Value

string

Methods

GetEventsInWindow(TimeSpan)

public IReadOnlyList<HealthEvent> GetEventsInWindow(TimeSpan window)

Parameters

window TimeSpan

Returns

IReadOnlyList<HealthEvent>

RecordEvent(DateTimeOffset, Dictionary<string, object>)

public void RecordEvent(DateTimeOffset timestamp, Dictionary<string, object> properties)

Parameters

timestamp DateTimeOffset
properties Dictionary<string, object>