Class ClusterMetricsReporter
Periodically writes a metrics snapshot to redb for cluster-wide aggregation.
Only active when cluster mode is enabled. Reads latest MetricsPoint from MetricsService
and persists to _tsak_metrics scheme.
public class ClusterMetricsReporter
Inheritance
Methods
GetAllNodesMetricsAsync(CancellationToken)
Get aggregated metrics for all cluster nodes.
public Task<IReadOnlyList<TsakMetricsSnapshotProps>> GetAllNodesMetricsAsync(CancellationToken ct = default)
ReportAsync(CancellationToken)
Write current node metrics snapshot to redb.
public Task ReportAsync(CancellationToken ct = default)