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 metric and logs #140

Merged
merged 9 commits into from
Sep 18, 2024
Merged

Add metric and logs #140

merged 9 commits into from
Sep 18, 2024

Conversation

zjg555543
Copy link

@zjg555543 zjg555543 commented Sep 11, 2024

  1. Add seq logs
[INFO] [09-12|04:32:23.251] Batch<40>, TotalDuration<10086ms>, GasUsed<3255000>, Block<4>, Tx<155>, GetTx<0ms>, GetTxPause<3843>, GetTxPauseTiming<7628ms>, ReprocessTx<0>, ResourceOverTx<0>, FailTx<0>, InvalidTx<0>, ProcessTx<0ms>, PbStateTiming<69ms>, ZkIncIntermediateHashesTiming<246ms>, FinaliseBlockWriteTiming<13ms>, BatchCommitDBTiming<2ms>, BatchCloseReason<EmptyBatchTimeOut>
  1. add metric
DefaultL2MetricsPrometheusURL = "http://127.0.0.1:9092/debug/metrics/prometheus"
DefaultL2MetricsURL           = "http://127.0.0.1:9092/debug/metrics"

@zjg555543
Copy link
Author

Modify form #122

@KamiD KamiD merged commit 9b85c0e into dev Sep 18, 2024
3 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.

3 participants