Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TASK] Implementation of Performance Metrics Collection (Node Latency Tracking) #6925

2003mahi started this conversation in General
Discussion options

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!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /