feat(audit-log): surface partition-purge failure as health event + counter

This commit is contained in:
Joseph Doherty
2026-07-09 06:49:28 -04:00
parent b59aa2d717
commit 14c4df54f9
9 changed files with 202 additions and 5 deletions
@@ -0,0 +1,16 @@
namespace ZB.MOM.WW.ScadaBridge.AuditLog.Central;
/// <summary>
/// Default <see cref="IAuditPurgeFailureCounter"/> binding used when the central
/// health surface (<see cref="AuditCentralHealthSnapshot"/>) has not been wired
/// (test composition roots, site-only hosts). Drops every increment on the floor.
/// Mirrors <see cref="NoOpCentralAuditWriteFailureCounter"/>.
/// </summary>
public sealed class NoOpAuditPurgeFailureCounter : IAuditPurgeFailureCounter
{
/// <inheritdoc/>
public void Increment()
{
// intentional no-op
}
}