ibessonov commented on code in PR #5392:
URL: https://github.com/apache/ignite-3/pull/5392#discussion_r1990715598
##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/PersistentPageMemory.java:
##########
@@ -275,6 +283,15 @@ public PersistentPageMemory(
this.writeThrottle = null;
}
+ private void initMetrics() {
+ metricSource.addMetric(new IntGauge(
+ "CheckpointBufferPagesCount", "Number of pages used in
checkpoint buffer.", this::usedCheckpointBufferPages
+ ));
+ metricSource.addMetric(new IntGauge(
+ "CheckpointBufferPagesSize", "Number of used pages in
checkpoint buffer.", this::maxCheckpointBufferPages
Review Comment:
Technically, there is a difference between these statements, but I agree
that we can re-phrase it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]