From bbdc46009e8e6b1bdd5781e52ecf12bc48adfe5d Mon Sep 17 00:00:00 2001 From: David Date: Wed, 17 Apr 2024 01:48:09 +0800 Subject: [PATCH] feat(metrics): remove some unused metrics (#724) --- internal/metrics/metrics.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index 67c54aaa0..5851148ba 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -42,15 +42,6 @@ var ( ProverSubmissionErrorCounter = metrics.NewRegisteredCounter("prover/proof/submission/error", nil) ProverSgxProofGeneratedCounter = metrics.NewRegisteredCounter("prover/proof/sgx/generated", nil) ProverSubmissionRevertedCounter = metrics.NewRegisteredCounter("prover/proof/submission/reverted", nil) - - // Transaction sender - TxSenderSentCounter = metrics.NewRegisteredCounter("sender/sent/txs", nil) - TxSenderConfirmedSuccessfulCounter = metrics.NewRegisteredCounter("sender/confirmed/successful/txs", nil) - TxSenderConfirmedFailedCounter = metrics.NewRegisteredCounter("sender/confirmed/failed/txs", nil) - TxSenderUnconfirmedCounter = metrics.NewRegisteredCounter("sender/unconfirmed/txs", nil) - TxSenderGasPriceGauge = metrics.NewRegisteredGauge("sender/gasPrice", nil) - TxSenderBlobGasPriceGauge = metrics.NewRegisteredGauge("sender/blob/gasPrice", nil) - TxSenderTxIncludedTimeGauge = metrics.NewRegisteredGauge("sender/tx/includedTime", nil) ) // Serve starts the metrics server on the given address, will be closed when the given