Skip to content

Comments

feat: add state transition histogram metrics#51

Merged
MegaRedHand merged 4 commits intomainfrom
add-state-transition-metrics
Jan 26, 2026
Merged

feat: add state transition histogram metrics#51
MegaRedHand merged 4 commits intomainfrom
add-state-transition-metrics

Conversation

@MegaRedHand
Copy link
Collaborator

No description provided.

Add Group 7 metrics from the leanMetrics specification:
- lean_state_transition_time_seconds: Duration of entire state transition
- lean_state_transition_slots_processing_time_seconds: Duration to process slots
- lean_state_transition_block_processing_time_seconds: Duration to process a block
- lean_state_transition_attestations_processing_time_seconds: Duration to process attestations

Each function is instrumented with std::time::Instant to measure
execution time and record to the appropriate histogram.
@MegaRedHand MegaRedHand merged commit 13827cc into main Jan 26, 2026
2 checks passed
@MegaRedHand MegaRedHand deleted the add-state-transition-metrics branch January 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant