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
alertKeystring
Properties
AlertKey
public string AlertKey { get; }
Property Value
Methods
GetEventsInWindow(TimeSpan)
public IReadOnlyList<HealthEvent> GetEventsInWindow(TimeSpan window)
Parameters
windowTimeSpan
Returns
RecordEvent(DateTimeOffset, Dictionary<string, object>)
public void RecordEvent(DateTimeOffset timestamp, Dictionary<string, object> properties)
Parameters
timestampDateTimeOffsetpropertiesDictionary<string, object>