-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
op-node: Add Metrics #12408
op-node: Add Metrics #12408
Conversation
2d9d378
to
4b1f84f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12408 +/- ##
===========================================
- Coverage 64.32% 64.14% -0.19%
===========================================
Files 52 52
Lines 4348 4348
===========================================
- Hits 2797 2789 -8
- Misses 1376 1385 +9
+ Partials 175 174 -1
Flags with carried forward coverage won't be shown. Click here to find out more. |
These changes are generally good @trianglesphere, thank you. Left a few comments, curious what you think |
4b1f84f
to
414e4fb
Compare
@tynes I cleaned up some of the logic to avoid duplicating code and simplified the deposit count. Ideally we'd be able to split out each type of txn, but having the deposit vs non deposit split already is a big step forward. |
/ci authorize 414e4fb |
/ci authorize 4a60f1b |
f2056c0
Description
This adds one new metric,
sequencer_active
to report if the sequencer is active or not.This also modifies
transactions_sequenced_total
. It is transformed from a Gauge (incorrectly called a counter previously) to a CounterVec. It is labelled withtype
where the value isl1_info_deposit
,deposit
, andtxns
to differentiate the different kinds of transactions.