Skip to content

feat: record metrics for extraction and processing - #51

Merged
prestwich merged 1 commit into
mainfrom
prestwich/processing-ms
Nov 13, 2025
Merged

feat: record metrics for extraction and processing#51
prestwich merged 1 commit into
mainfrom
prestwich/processing-ms

Conversation

@prestwich

@prestwich prestwich commented Nov 12, 2025

Copy link
Copy Markdown
Member

Adds metrics

  • block gas used
  • block processing time
  • notification extraction time

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich
prestwich marked this pull request as ready for review November 12, 2025 18:30
@prestwich
prestwich requested a review from a team as a code owner November 12, 2025 18:30
let shim = ExtractableChainShim::new(chain);
let outputs = extractor.extract_signet(&shim);

metrics::record_extraction_time(&start_time);

@Evalir Evalir Nov 13, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we usually directly import these, but given they are metrics and are not relevant to the "main code", do we want to maybe establish this lack of importing as a pattern? wdyt?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think it matters

@prestwich
prestwich merged commit 80d7c1a into main Nov 13, 2025
7 checks passed
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.

2 participants