diff --git a/metrics/metrics.go b/metrics/metrics.go index fd1131dfe353e..daa5ffbc7bb14 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -119,7 +119,6 @@ func RegisterMetrics() { prometheus.MustRegister(StmtNodeCounter) prometheus.MustRegister(DbStmtNodeCounter) prometheus.MustRegister(StoreQueryFeedbackCounter) - prometheus.MustRegister(GetStoreLimitErrorCounter) prometheus.MustRegister(TimeJumpBackCounter) prometheus.MustRegister(TransactionDuration) prometheus.MustRegister(StatementDeadlockDetectDuration) diff --git a/metrics/stats.go b/metrics/stats.go index b1143531d6114..a37bb08232bb2 100644 --- a/metrics/stats.go +++ b/metrics/stats.go @@ -77,14 +77,6 @@ var ( Help: "Counter of storing query feedback.", }, []string{LblType}) - GetStoreLimitErrorCounter = prometheus.NewCounterVec( - prometheus.CounterOpts{ - Namespace: "tidb", - Subsystem: "statistics", - Name: "get_store_limit_token_error", - Help: "store token is up to the limit, probably because one of the stores is the hotspot or unavailable", - }, []string{LblAddress, LblStore}) - SignificantFeedbackCounter = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: "tidb",