SIENTIAPDE-1325
Update OPC metric emission to include server URL in opc_repository.py
This commit is contained in:
@@ -182,7 +182,10 @@ class OpcRepository(SientiaMonitoring):
|
||||
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, {}
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user