From bbfb4ecd1ddd2da552b33d9a58aaa3508967367a Mon Sep 17 00:00:00 2001 From: pingcap-github-bot Date: Thu, 18 Jul 2019 19:31:09 +0800 Subject: [PATCH] metrics: add missing TiKVTxnCmdCounter (#11292) (#11316) --- metrics/metrics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/metrics/metrics.go b/metrics/metrics.go index 5cd1005be9a44..2da5ae3a14974 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -114,6 +114,7 @@ func RegisterMetrics() { prometheus.MustRegister(TiKVSecondaryLockCleanupFailureCounter) prometheus.MustRegister(TiKVSendReqHistogram) prometheus.MustRegister(TiKVSnapshotCounter) + prometheus.MustRegister(TiKVTxnCmdCounter) prometheus.MustRegister(TiKVTxnCmdHistogram) prometheus.MustRegister(TiKVTxnCounter) prometheus.MustRegister(TiKVTxnRegionsNumHistogram)