SIENTIAPDE-1325
Update image tag and enhance OPC metrics tracking - Bumped image tag from "1.0.1" to "1.1.0" in values.yaml. - Added new metrics for OPC connection count and error count in metrics.py. - Refactored OPC connection handling in opc_repository.py to emit new metrics for connection status, count, and errors.
This commit is contained in:
@@ -120,6 +120,18 @@ OPC_CONNECTION_STATUS = Gauge(
|
||||
['pod_id', 'opc_server_id'],
|
||||
)
|
||||
|
||||
OPC_CONNECTION_COUNT = Counter(
|
||||
'laborious_opc_connection_count',
|
||||
'Number of connections to the OPC server',
|
||||
['pod_id', 'opc_server_id'],
|
||||
)
|
||||
|
||||
OPC_CONNECTION_ERROR_COUNT = Counter(
|
||||
'laborious_opc_connection_error_count',
|
||||
'Number of errors connecting to the OPC server',
|
||||
['pod_id', 'opc_server_id'],
|
||||
)
|
||||
|
||||
# ================== Model metrics ==================
|
||||
|
||||
MODEL_READ_LAG = Histogram(
|
||||
|
||||
Reference in New Issue
Block a user