-
Notifications
You must be signed in to change notification settings - Fork 180
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 checkpoint size metrics #5395
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5395 +/- ##
==========================================
- Coverage 55.97% 55.91% -0.06%
==========================================
Files 1023 1016 -7
Lines 98930 98246 -684
==========================================
- Hits 55380 54939 -441
+ Misses 39349 39136 -213
+ Partials 4201 4171 -30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -22,6 +22,7 @@ type ExecutionCollector struct { | |||
lastFinalizedExecutedBlockHeightGauge prometheus.Gauge | |||
stateStorageDiskTotal prometheus.Gauge | |||
storageStateCommitment prometheus.Gauge | |||
checkpointSize prometheus.Gauge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need an initialisation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I think it will panic if it's not initialized
@@ -650,6 +651,7 @@ func NewExecutionCollector(tracer module.Tracer) *ExecutionCollector { | |||
Help: "the execution state size on disk in bytes", | |||
}), | |||
|
|||
// TODO: remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this todo for another PR? If so, maybe add more context.
@@ -22,6 +22,7 @@ type ExecutionCollector struct { | |||
lastFinalizedExecutedBlockHeightGauge prometheus.Gauge | |||
stateStorageDiskTotal prometheus.Gauge | |||
storageStateCommitment prometheus.Gauge | |||
checkpointSize prometheus.Gauge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I think it will panic if it's not initialized
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com> Co-authored-by: Janez Podhostnik <67895329+janezpodhostnik@users.noreply.github.com>
Close #5392