-
Notifications
You must be signed in to change notification settings - Fork 5.7k
-
Hello Hive Team!
I’ve been exploring the framework and noticed that Performance Metrics Collection is a key unchecked item on the project roadmap. I would love to officially claim this task and contribute the implementation!
My Approach: I am working on hooking up the latency_ms field in NodeResult by implementing high-resolution timers (time.perf_counter) within the GraphExecutor. This will track:
Sequential Execution: Precise timing for standard node transitions.
Parallel Execution: Latency tracking for fan-out branches in _execute_parallel_branches.
Total Latency: Aggregating per-node metrics into the final ExecutionResult.
I have already begun the local development and am currently verifying the logic against the existing test suite. I aim to submit a clean PR that brings us one step closer to full observability for Hive agents.
Looking forward to your thoughts and happy to be part of the community!
Beta Was this translation helpful? Give feedback.