18 lines
385 B
C#
18 lines
385 B
C#
|
|
namespace OTSSignsOrchestrator.Server.Data.Entities;
|
||
|
|
|
||
|
|
public enum AuthentikMetricsStatus
|
||
|
|
{
|
||
|
|
Healthy,
|
||
|
|
Degraded,
|
||
|
|
Critical
|
||
|
|
}
|
||
|
|
|
||
|
|
public class AuthentikMetrics
|
||
|
|
{
|
||
|
|
public Guid Id { get; set; }
|
||
|
|
public DateTime CheckedAt { get; set; }
|
||
|
|
public AuthentikMetricsStatus Status { get; set; }
|
||
|
|
public int LatencyMs { get; set; }
|
||
|
|
public string? ErrorMessage { get; set; }
|
||
|
|
}
|