chore(lmxproxy): switch health probe tag to DevAppEngine.Scheduler.ScanTime, remove temp prompts

AppEngine built-in tag is always present and constantly updating (~1s),
making it a more reliable probe than a user-deployed TestChildObject tag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-03-22 07:18:39 -04:00
parent ec21a9a2a0
commit 2c99b370a0
6 changed files with 4 additions and 316 deletions

View File

@@ -31,8 +31,8 @@ namespace ZB.MOM.WW.LmxProxy.Host.Configuration
/// <summary>Health check / probe configuration.</summary>
public class HealthCheckConfiguration
{
/// <summary>Tag address to probe for connection liveness. Default: TestChildObject.TestBool.</summary>
public string TestTagAddress { get; set; } = "TestChildObject.TestBool";
/// <summary>Tag address to probe for connection liveness. Default: DevAppEngine.Scheduler.ScanTime.</summary>
public string TestTagAddress { get; set; } = "DevAppEngine.Scheduler.ScanTime";
/// <summary>Probe timeout in milliseconds. Default: 5000.</summary>
public int ProbeTimeoutMs { get; set; } = 5000;

View File

@@ -20,7 +20,7 @@ namespace ZB.MOM.WW.LmxProxy.Host.Health
public DetailedHealthCheckService(
IScadaClient scadaClient,
string testTagAddress = "TestChildObject.TestBool")
string testTagAddress = "DevAppEngine.Scheduler.ScanTime")
{
_scadaClient = scadaClient;
_testTagAddress = testTagAddress;

View File

@@ -33,7 +33,7 @@
},
"HealthCheck": {
"TestTagAddress": "TestChildObject.TestBool",
"TestTagAddress": "DevAppEngine.Scheduler.ScanTime",
"ProbeTimeoutMs": 5000,
"MaxConsecutiveTransportFailures": 3,
"DegradedProbeIntervalMs": 30000