Skip to content

Commit

Permalink
Remove unused Prometheus metric
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-ssvlabs committed Jan 27, 2025
1 parent ff4fa98 commit c387e8d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ibft/storage/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (

"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"go.uber.org/zap"

spectypes "github.com/ssvlabs/ssv-spec/types"
Expand All @@ -27,20 +25,6 @@ const (
participantsKey = "pt"
)

var (
metricsHighestDecided = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "ssv:validator:ibft_highest_decided",
Help: "The highest decided sequence number",
}, []string{"identifier", "pubKey"})
)

func init() {
logger := zap.L()
if err := prometheus.Register(metricsHighestDecided); err != nil {
logger.Debug("could not register prometheus collector")
}
}

// participantStorage struct
// instanceType is what separates different iBFT eth2 duty types (attestation, proposal and aggregation)
type participantStorage struct {
Expand Down

0 comments on commit c387e8d

Please sign in to comment.