diff --git a/common/version/version.go b/common/version/version.go index ca5a810ab..70614b5a7 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -5,7 +5,7 @@ import ( "runtime/debug" ) -var tag = "v4.4.45" +var tag = "v4.4.46" var commit = func() string { if info, ok := debug.ReadBuildInfo(); ok { diff --git a/coordinator/internal/logic/provertask/batch_prover_task.go b/coordinator/internal/logic/provertask/batch_prover_task.go index cfc649c02..ac1cc2f25 100644 --- a/coordinator/internal/logic/provertask/batch_prover_task.go +++ b/coordinator/internal/logic/provertask/batch_prover_task.go @@ -29,9 +29,8 @@ import ( type BatchProverTask struct { BaseProverTask - batchAttemptsExceedTotal prometheus.Counter - batchTaskGetTaskTotal *prometheus.CounterVec - batchTaskGetTaskProver *prometheus.CounterVec + batchTaskGetTaskTotal *prometheus.CounterVec + batchTaskGetTaskProver *prometheus.CounterVec } // NewBatchProverTask new a batch collector @@ -47,10 +46,6 @@ func NewBatchProverTask(cfg *config.Config, chainCfg *params.ChainConfig, db *go proverTaskOrm: orm.NewProverTask(db), proverBlockListOrm: orm.NewProverBlockList(db), }, - batchAttemptsExceedTotal: promauto.With(reg).NewCounter(prometheus.CounterOpts{ - Name: "coordinator_batch_attempts_exceed_total", - Help: "Total number of batch attempts exceed.", - }), batchTaskGetTaskTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{ Name: "coordinator_batch_get_task_total", Help: "Total number of batch get task.", diff --git a/coordinator/internal/logic/provertask/bundle_prover_task.go b/coordinator/internal/logic/provertask/bundle_prover_task.go index d244d2280..461641ecd 100644 --- a/coordinator/internal/logic/provertask/bundle_prover_task.go +++ b/coordinator/internal/logic/provertask/bundle_prover_task.go @@ -27,9 +27,8 @@ import ( type BundleProverTask struct { BaseProverTask - bundleAttemptsExceedTotal prometheus.Counter - bundleTaskGetTaskTotal *prometheus.CounterVec - bundleTaskGetTaskProver *prometheus.CounterVec + bundleTaskGetTaskTotal *prometheus.CounterVec + bundleTaskGetTaskProver *prometheus.CounterVec } // NewBundleProverTask new a bundle collector @@ -46,10 +45,6 @@ func NewBundleProverTask(cfg *config.Config, chainCfg *params.ChainConfig, db *g proverTaskOrm: orm.NewProverTask(db), proverBlockListOrm: orm.NewProverBlockList(db), }, - bundleAttemptsExceedTotal: promauto.With(reg).NewCounter(prometheus.CounterOpts{ - Name: "coordinator_bundle_attempts_exceed_total", - Help: "Total number of bundle attempts exceed.", - }), bundleTaskGetTaskTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{ Name: "coordinator_bundle_get_task_total", Help: "Total number of bundle get task.", diff --git a/coordinator/internal/logic/provertask/chunk_prover_task.go b/coordinator/internal/logic/provertask/chunk_prover_task.go index b5527ff49..25f1e0cb1 100644 --- a/coordinator/internal/logic/provertask/chunk_prover_task.go +++ b/coordinator/internal/logic/provertask/chunk_prover_task.go @@ -27,9 +27,8 @@ import ( type ChunkProverTask struct { BaseProverTask - chunkAttemptsExceedTotal prometheus.Counter - chunkTaskGetTaskTotal *prometheus.CounterVec - chunkTaskGetTaskProver *prometheus.CounterVec + chunkTaskGetTaskTotal *prometheus.CounterVec + chunkTaskGetTaskProver *prometheus.CounterVec } // NewChunkProverTask new a chunk prover task @@ -44,10 +43,6 @@ func NewChunkProverTask(cfg *config.Config, chainCfg *params.ChainConfig, db *go proverTaskOrm: orm.NewProverTask(db), proverBlockListOrm: orm.NewProverBlockList(db), }, - chunkAttemptsExceedTotal: promauto.With(reg).NewCounter(prometheus.CounterOpts{ - Name: "coordinator_chunk_attempts_exceed_total", - Help: "Total number of chunk attempts exceed.", - }), chunkTaskGetTaskTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{ Name: "coordinator_chunk_get_task_total", Help: "Total number of chunk get task.",