diff --git a/metrics/metrics.go b/metrics/metrics.go index 8640b7347ebe7..20bc7243d5d61 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -108,6 +108,7 @@ func RegisterMetrics() { prometheus.MustRegister(TiKVSecondaryLockCleanupFailureCounter) prometheus.MustRegister(TiKVSendReqHistogram) prometheus.MustRegister(TiKVSnapshotCounter) + prometheus.MustRegister(TiKVTxnCmdCounter) prometheus.MustRegister(TiKVTxnCmdHistogram) prometheus.MustRegister(TiKVTxnCounter) prometheus.MustRegister(TiKVTxnRegionsNumHistogram)