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:
@@ -85,6 +85,8 @@ SLOTS_RELEASED = Counter(
|
|||||||
'Total number of slots released by this instance',
|
'Total number of slots released by this instance',
|
||||||
POD_ID_LABEL,
|
POD_ID_LABEL,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# --- OPC Manager Metrics ---
|
||||||
OPC_MANAGERS_ACTIVE = Gauge(
|
OPC_MANAGERS_ACTIVE = Gauge(
|
||||||
'ingestor_opc_managers_active',
|
'ingestor_opc_managers_active',
|
||||||
'Number of active OPC Managers in this instance',
|
'Number of active OPC Managers in this instance',
|
||||||
@@ -96,7 +98,6 @@ OPC_SUBSCRIPTION_ERRORS = Counter(
|
|||||||
['pod_id', 'server', 'slot'],
|
['pod_id', 'server', 'slot'],
|
||||||
)
|
)
|
||||||
|
|
||||||
# --- OPC Manager Metrics ---
|
|
||||||
OPC_CONNECTIONS_TOTAL = Counter(
|
OPC_CONNECTIONS_TOTAL = Counter(
|
||||||
'opc_connections_initiated_total',
|
'opc_connections_initiated_total',
|
||||||
'Total connection attempts to OPC servers',
|
'Total connection attempts to OPC servers',
|
||||||
|
|||||||
Reference in New Issue
Block a user