Class RouteMetricsSummary

Assembly: redb.Tsak.Contracts.dll

Per-route metrics summary, derived from the route's consumer endpoint statistics.

public sealed record RouteMetricsSummary : IEquatable<RouteMetricsSummary>

Inheritance

Object→RouteMetricsSummary

Implements

Properties

AvgProcessingMs

public double AvgProcessingMs { get; init; }

ContextName

The context the route belongs to. A route id is unique only inside its context, so without this the

public string ContextName { get; init; }

Errors

public long Errors { get; init; }

InflightCount

public int InflightCount { get; init; }

LastActivity

public DateTime? LastActivity { get; init; }

LastError

public string? LastError { get; init; }

LastErrorTime

public DateTime? LastErrorTime { get; init; }

LastRefusal

Why the last request was refused; null when none was.

public string? LastRefusal { get; init; }

LastRefusalTime

When the last request was refused; null when none was.

public DateTime? LastRefusalTime { get; init; }

LastWarning

public string? LastWarning { get; init; }

LastWarningTime

public DateTime? LastWarningTime { get; init; }

MessagesProcessed

public long MessagesProcessed { get; init; }

Refused

Requests the route's consumer refused as the caller's fault (a bad signature, a broken envelope, an unknown

public long Refused { get; init; }

Rejected

Requests shed by an admission limit (e.g. maxConcurrentRequests) BEFORE a pipeline

public long Rejected { get; init; }

RouteId

public required string RouteId { get; init; }

Status

public required string Status { get; init; }

ThroughputPerSecond

public double ThroughputPerSecond { get; init; }

Uptime

public string? Uptime { get; init; }

Warnings

public long Warnings { get; init; }