Skip to content

Commit

Permalink
remove unused metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Jan 24, 2024
1 parent a91ca83 commit cc94470
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rollup/internal/controller/sender/sender_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type senderMetrics struct {
currentGasTipCap *prometheus.GaugeVec
currentGasPrice *prometheus.GaugeVec
currentGasLimit *prometheus.GaugeVec
currentNonce *prometheus.GaugeVec
}

var (
Expand Down Expand Up @@ -65,10 +64,6 @@ func initSenderMetrics(reg prometheus.Registerer) *senderMetrics {
Name: "rollup_sender_gas_limit",
Help: "The gas limit of current transaction.",
}, []string{"service", "name"}),
currentNonce: promauto.With(reg).NewGaugeVec(prometheus.GaugeOpts{
Name: "rollup_sender_nonce",
Help: "The nonce of current transaction.",
}, []string{"service", "name"}),
senderCheckPendingTransactionTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{
Name: "rollup_sender_check_pending_transaction_total",
Help: "The total number of check pending transaction.",
Expand Down

0 comments on commit cc94470

Please sign in to comment.