feat(r2-04): PrimaryGatePolicy - membership-aware default-deny + denial meter (03/S4)

This commit is contained in:
Joseph Doherty
2026-07-13 10:55:46 -04:00
parent edbbc0438c
commit f2e899aaad
4 changed files with 73 additions and 1 deletions
@@ -70,6 +70,12 @@ public static class OtOpcUaTelemetry
Meter.CreateCounter<long>("otopcua.redundancy.service_level_change", unit: "{change}",
description: "OPC UA Server.ServiceLevel transitions emitted by the redundancy state.");
/// <summary>Inbound operations denied by the Primary data-plane gate (archreview 03/S4) —
/// site=write|ack|alarm-emit, reason=secondary|detached|role-unknown.</summary>
public static readonly Counter<long> PrimaryGateDenied =
Meter.CreateCounter<long>("otopcua.redundancy.primary_gate_denied", unit: "{denial}",
description: "Operations denied by the Primary gate (site=write|ack|alarm-emit, reason=secondary|detached|role-unknown).");
// ---------------- Convenience helpers ----------------
/// <summary>