SIENTIAPDE-1325

Update OPC metric emission to include server URL in opc_repository.py
This commit is contained in:
vitor-aignosi
2025-11-07 08:46:11 -03:00
parent 4136c116da
commit 2245baae62

View File

@@ -182,7 +182,10 @@ class OpcRepository(SientiaMonitoring):
value=1, value=1,
) )
await self.emit_metric(metrics.OPC_CONNECTIONS_TOTAL, tags) await self.emit_metric(metrics.OPC_CONNECTIONS_TOTAL, {
**tags,
'server_url': self.url,
})
return True, {} return True, {}
except Exception as e: except Exception as e: