From cc944700b707627a0cb9afadac6a2f3104bf0414 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Wed, 24 Jan 2024 21:10:52 +0800 Subject: [PATCH] remove unused metrics --- rollup/internal/controller/sender/sender_metrics.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rollup/internal/controller/sender/sender_metrics.go b/rollup/internal/controller/sender/sender_metrics.go index 99e391c149..a23935dd99 100644 --- a/rollup/internal/controller/sender/sender_metrics.go +++ b/rollup/internal/controller/sender/sender_metrics.go @@ -18,7 +18,6 @@ type senderMetrics struct { currentGasTipCap *prometheus.GaugeVec currentGasPrice *prometheus.GaugeVec currentGasLimit *prometheus.GaugeVec - currentNonce *prometheus.GaugeVec } var ( @@ -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.",