Skip to content

Commit 59375b4

Browse files
chore(18458): fix metrics details
Signed-off-by: mxtartaglia <[email protected]>
1 parent 4d6d96f commit 59375b4

File tree

1 file changed

+5
-4
lines changed
  • platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/event/preconsensus

1 file changed

+5
-4
lines changed

platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/event/preconsensus/PcesMetrics.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ public class PcesMetrics {
8080
.withDescription("The average duration of the sync method");
8181
public static final RunningAverageMetric.Config PCES_AVG_WRITE_DURATION = new RunningAverageMetric.Config(
8282
CATEGORY, "pcesAvgWriteDuration")
83-
.withDescription("The average duration of the sync method");
83+
.withDescription("The average duration of the write fs call");
8484
public static final RunningAverageMetric.Config PCES_AVG_TOTAL_WRITE_DURATION = new RunningAverageMetric.Config(
8585
CATEGORY, "pcesAvgTotalWriteDuration")
86-
.withDescription("The average duration of the sync method");
87-
public static final Counter.Config PCES_BUFFER_EXPANSIONS_COUNTER =
88-
new Counter.Config(CATEGORY, "pcesBufferExpansionCounter");
86+
.withDescription("The average of the total duration of the write method");
87+
public static final Counter.Config PCES_BUFFER_EXPANSIONS_COUNTER = new Counter.Config(
88+
CATEGORY, "pcesBufferExpansionCounter")
89+
.withDescription("How many times the write buffer needed to be expanded");
8990

9091
/**
9192
* Construct preconsensus event metrics.

0 commit comments

Comments
 (0)