Add miss register for TiKVUnsafeDestroyRangeFailuresCounterVec (#406)

Signed-off-by: Jiahao Huang <july2993@gmail.com>
This commit is contained in:
july2993 2021-12-28 11:31:51 +08:00 committed by GitHub
parent 300275dee6
commit 3b10001094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -605,6 +605,7 @@ func RegisterMetrics() {
prometheus.MustRegister(TiKVTxnCommitBackoffCount)
prometheus.MustRegister(TiKVSmallReadDuration)
prometheus.MustRegister(TiKVReadThroughput)
prometheus.MustRegister(TiKVUnsafeDestroyRangeFailuresCounterVec)
}
// readCounter reads the value of a prometheus.Counter.