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

Add pretty printing for pruner stats #12502

Open
mattsse opened this issue Nov 13, 2024 · 1 comment
Open

Add pretty printing for pruner stats #12502

mattsse opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started

Comments

@mattsse
Copy link
Collaborator

mattsse commented Nov 13, 2024

Describe the feature

desired format looks like

[(table=Headers, pruned=15, status=Finished), (table=Transactions, pruned=780, status=Finished)]

TODO

  • add display impl

pub struct PrunedSegmentInfo {

info!(tip_block_number, ?elapsed, ?stats, "Pruner finished");

Additional context

No response

@mattsse mattsse added C-enhancement New feature or request S-needs-triage This issue needs to be labelled labels Nov 13, 2024
@mattsse mattsse added D-good-first-issue Nice and easy! A great choice to get started and removed S-needs-triage This issue needs to be labelled labels Nov 13, 2024
@syjn99
Copy link
Contributor

syjn99 commented Nov 13, 2024

I'd like to take this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started
Projects
Status: Todo
Development

No branches or pull requests

2 participants