Table of Contents

Class AuditExporterHealthResult

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Result of an exporter health check.

public sealed record AuditExporterHealthResult : IEquatable<AuditExporterHealthResult>
Inheritance
AuditExporterHealthResult
Implements
Inherited Members

Properties

CheckedAt

Gets the timestamp when the health check was performed.

public required DateTimeOffset CheckedAt { get; init; }

Property Value

DateTimeOffset

Diagnostics

Gets additional diagnostic information.

public IReadOnlyDictionary<string, string>? Diagnostics { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Endpoint

Gets the endpoint being checked.

public string? Endpoint { get; init; }

Property Value

string

ErrorMessage

Gets the error message if the health check failed.

public string? ErrorMessage { get; init; }

Property Value

string

ExporterName

Gets the name of the exporter.

public required string ExporterName { get; init; }

Property Value

string

IsHealthy

Gets a value indicating whether the exporter is healthy.

public required bool IsHealthy { get; init; }

Property Value

bool

LatencyMs

Gets the latency of the health check in milliseconds.

public long? LatencyMs { get; init; }

Property Value

long?