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.
This commit is contained in:
vitor-aignosi
2025-11-07 08:49:09 -03:00
parent c4f8fe95a8
commit 1cb687aa37

View File

@@ -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',