refactor(kpi): shared public KpiMetrics catalog — source consts + UI pages key off one symbol (#178)
This commit is contained in:
@@ -34,13 +34,15 @@ namespace ZB.MOM.WW.ScadaBridge.HealthMonitoring.Kpi;
|
||||
public sealed class SiteHealthKpiSampleSource : IKpiSampleSource
|
||||
{
|
||||
// ── Metric catalog (the M6-agreed metric-name strings for this source) ──
|
||||
// Declaration order matches the emission order in AddSiteSnapshot.
|
||||
// Declaration order matches the emission order in AddSiteSnapshot. Charted metrics
|
||||
// share the public Commons catalog so source + UI trend page key off one symbol
|
||||
// (#178); the uncharted internal metrics stay private here.
|
||||
private const string MetricConnectionsUp = "connectionsUp";
|
||||
private const string MetricConnectionsDown = "connectionsDown";
|
||||
private const string MetricScriptErrors = "scriptErrors";
|
||||
private const string MetricConnectionsDown = KpiMetrics.SiteHealth.ConnectionsDown;
|
||||
private const string MetricScriptErrors = KpiMetrics.SiteHealth.ScriptErrors;
|
||||
private const string MetricAlarmEvalErrors = "alarmEvalErrors";
|
||||
private const string MetricSfBufferDepth = "sfBufferDepth";
|
||||
private const string MetricDeadLetters = "deadLetters";
|
||||
private const string MetricSfBufferDepth = KpiMetrics.SiteHealth.SfBufferDepth;
|
||||
private const string MetricDeadLetters = KpiMetrics.SiteHealth.DeadLetters;
|
||||
private const string MetricParkedMessages = "parkedMessages";
|
||||
private const string MetricDeployedInstances = "deployedInstances";
|
||||
private const string MetricEnabledInstances = "enabledInstances";
|
||||
|
||||
Reference in New Issue
Block a user