refactor(kpi): shared public KpiMetrics catalog — source consts + UI pages key off one symbol (#178)
This commit is contained in:
@@ -293,9 +293,9 @@ public partial class AuditLogPage : IDisposable
|
||||
/// <summary>The metrics rendered in the panel, in display order.</summary>
|
||||
private static readonly (string Metric, string Title, string? Unit)[] TrendMetrics =
|
||||
{
|
||||
("totalEventsLastHour", "Events / hour", null),
|
||||
("errorEventsLastHour", "Error events / hour", null),
|
||||
("backlogTotal", "Backlog", null),
|
||||
(KpiMetrics.AuditLog.TotalEventsLastHour, "Events / hour", null),
|
||||
(KpiMetrics.AuditLog.ErrorEventsLastHour, "Error events / hour", null),
|
||||
(KpiMetrics.AuditLog.BacklogTotal, "Backlog", null),
|
||||
};
|
||||
|
||||
/// <summary>Per-metric series state, keyed by the metric name.</summary>
|
||||
|
||||
Reference in New Issue
Block a user