Skip to content

Commit

Permalink
Remove redundant epochs metric in gpbft package
Browse files Browse the repository at this point in the history
This metric was moved to certstore. The one in `gpbft` package is no
longer in use.
  • Loading branch information
masih committed Oct 28, 2024
1 parent 322dc35 commit c252bd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gpbft/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ var (
currentRound metric.Int64Gauge
currentPhase metric.Int64Gauge
skipCounter metric.Int64Counter
epochsPerInstance metric.Int64Gauge
validationCache metric.Int64Counter
}{
phaseCounter: measurements.Must(meter.Int64Counter("f3_gpbft_phase_counter", metric.WithDescription("Number of times phases change"))),
Expand All @@ -69,8 +68,6 @@ var (
"0=INITIAL, 1=QUALITY, 2=CONVERGE, 3=PREPARE, 4=COMMIT, 5=DECIDE, and 6=TERMINATED"))),
skipCounter: measurements.Must(meter.Int64Counter("f3_gpbft_skip_counter",
metric.WithDescription("The number of times GPBFT skip either round or phase"))),
epochsPerInstance: measurements.Must(meter.Int64Gauge("f3_gpbft_epochs_per_instance",
metric.WithDescription("The number of epochs per finalized instance."))),
validationCache: measurements.Must(meter.Int64Counter("f3_gpbft_validation_cache",
metric.WithDescription("The number of times GPBFT validation cache resulted in hit or miss."))),
}
Expand Down

0 comments on commit c252bd7

Please sign in to comment.