diff --git a/rollup/internal/controller/watcher/l2_watcher_metrics.go b/rollup/internal/controller/watcher/l2_watcher_metrics.go index 7375d12e5..c9f575be8 100644 --- a/rollup/internal/controller/watcher/l2_watcher_metrics.go +++ b/rollup/internal/controller/watcher/l2_watcher_metrics.go @@ -10,9 +10,6 @@ import ( type l2WatcherMetrics struct { fetchRunningMissingBlocksTotal prometheus.Counter fetchRunningMissingBlocksHeight prometheus.Gauge - fetchContractEventTotal prometheus.Counter - fetchContractEventHeight prometheus.Gauge - rollupL2MsgsRelayedEventsTotal prometheus.Counter rollupL2BlocksFetchedGap prometheus.Gauge rollupL2BlockL1CommitCalldataSize prometheus.Gauge } @@ -33,18 +30,6 @@ func initL2WatcherMetrics(reg prometheus.Registerer) *l2WatcherMetrics { Name: "rollup_l2_watcher_fetch_running_missing_blocks_height", Help: "The total number of l2 watcher fetch running missing blocks height", }), - fetchContractEventTotal: promauto.With(reg).NewCounter(prometheus.CounterOpts{ - Name: "rollup_l2_watcher_fetch_contract_events_total", - Help: "The total number of l2 watcher fetch contract events", - }), - fetchContractEventHeight: promauto.With(reg).NewGauge(prometheus.GaugeOpts{ - Name: "rollup_l2_watcher_fetch_contract_height", - Help: "The total number of l2 watcher fetch contract height", - }), - rollupL2MsgsRelayedEventsTotal: promauto.With(reg).NewCounter(prometheus.CounterOpts{ - Name: "rollup_l2_watcher_msg_relayed_events_total", - Help: "The total number of l2 watcher msg relayed event", - }), rollupL2BlocksFetchedGap: promauto.With(reg).NewGauge(prometheus.GaugeOpts{ Name: "rollup_l2_watcher_blocks_fetched_gap", Help: "The gap of l2 fetch",