Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve block timings metrics #10960

Open
mhofman opened this issue Feb 7, 2025 · 0 comments
Open

Improve block timings metrics #10960

mhofman opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request telemetry

Comments

@mhofman
Copy link
Member

mhofman commented Feb 7, 2025

What is the Problem Being Solved?

Report explicit metrics for the following block timing:

  • Swingset run time
  • Swingset chain save time (mailbox state save)
  • Total commit time
  • Swingset commit time (swing-store commit)
  • Cosmos commit time
  • Inter block time (swingset idle)
  • after commit wait time (delay in starting processing a block if previous block "maintenance" didn't complete)
  • block lag (how late the current node is in processing the block)

Description of the Design

Explicit open telemetry metrics (mostly histogram, where cumulative metrics could also be derived)

Security Considerations

None

Scaling Considerations

None

Test Plan

Verify metric presence in telemetry output using #10911

Upgrade Considerations

Chain software that doesn't affect consensus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request telemetry
Projects
None yet
Development

No branches or pull requests

1 participant