From 1cb687aa37b4fff1a43379a010c82417f03ef212 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Fri, 7 Nov 2025 08:49:09 -0300 Subject: [PATCH] SIENTIAPDE-1325 Update metrics.py to reorganize OPC Manager metrics section - Added a comment header for OPC Manager metrics for better code organization. - Removed redundant comment header to streamline the code structure. --- ingestor/metrics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ingestor/metrics.py b/ingestor/metrics.py index ca44e22..503d299 100644 --- a/ingestor/metrics.py +++ b/ingestor/metrics.py @@ -85,6 +85,8 @@ SLOTS_RELEASED = Counter( 'Total number of slots released by this instance', POD_ID_LABEL, ) + +# --- OPC Manager Metrics --- OPC_MANAGERS_ACTIVE = Gauge( 'ingestor_opc_managers_active', 'Number of active OPC Managers in this instance', @@ -96,7 +98,6 @@ OPC_SUBSCRIPTION_ERRORS = Counter( ['pod_id', 'server', 'slot'], ) -# --- OPC Manager Metrics --- OPC_CONNECTIONS_TOTAL = Counter( 'opc_connections_initiated_total', 'Total connection attempts to OPC servers',