SIENTIAPDE-1307: Implement metrics for training activities and workflow executions, tracking success/failure status.

This commit is contained in:
Bruno Domingues
2025-11-03 14:41:37 -03:00
parent d8e8d3c481
commit f32d647d1c
3 changed files with 83 additions and 1 deletions

View File

@@ -28,7 +28,12 @@ def mock_metrics_controller():
async def mock_shutdown():
pass
# Make emit an async coroutine
async def mock_emit(*args, **kwargs):
pass
controller.shutdown = mock_shutdown
controller.emit = mock_emit
return controller