Table of Contents

Class ConsistencyLag

Namespace
Excalibur.Data.ElasticSearch.Projections
Assembly
Excalibur.Data.ElasticSearch.dll

Represents the consistency lag between write and read models.

public sealed class ConsistencyLag
Inheritance
ConsistencyLag
Inherited Members

Properties

AverageLagMs

Gets the average lag over the measurement period.

public required double AverageLagMs { get; init; }

Property Value

double

The average lag over the measurement period.

CurrentLagMs

Gets the current lag in milliseconds.

public required double CurrentLagMs { get; init; }

Property Value

double

The current lag in milliseconds.

IsWithinSLA

Gets a value indicating whether the lag is within acceptable limits.

public bool IsWithinSLA { get; init; }

Property Value

bool

A value indicating whether the lag is within acceptable limits.

LastProcessedEventTime

Gets the timestamp of the last processed event.

public DateTimeOffset? LastProcessedEventTime { get; init; }

Property Value

DateTimeOffset?

The timestamp of the last processed event.

MaxLagMs

Gets the maximum lag observed.

public required double MaxLagMs { get; init; }

Property Value

double

The maximum lag observed.

MinLagMs

Gets the minimum lag observed.

public required double MinLagMs { get; init; }

Property Value

double

The minimum lag observed.

P95LagMs

Gets the 95th percentile lag.

public double P95LagMs { get; init; }

Property Value

double

The 95th percentile lag.

P99LagMs

Gets the 99th percentile lag.

public double P99LagMs { get; init; }

Property Value

double

The 99th percentile lag.

PendingEvents

Gets the number of events pending projection.

public long PendingEvents { get; init; }

Property Value

long

The number of events pending projection.

ProjectionType

Gets the projection type.

public required string ProjectionType { get; init; }

Property Value

string

The projection type.