server(alarms): provider-mode gauge startup baseline; reconcile-lock comment; de-flake monitor test

This commit is contained in:
Joseph Doherty
2026-06-13 10:29:13 -04:00
parent ee459f43e1
commit bcc54ca56b
3 changed files with 31 additions and 3 deletions
@@ -402,6 +402,12 @@ public sealed class GatewayMetrics : IDisposable
new KeyValuePair<string, object?>("reason", reason));
}
/// <summary>Sets the current alarm provider-mode gauge without recording a switch (e.g. startup baseline).</summary>
public void SetAlarmProviderMode(int mode)
{
lock (_syncRoot) { _alarmProviderMode = mode; }
}
/// <summary>
/// Returns a snapshot of all current metric values.
/// </summary>