소스 검색

remove hashRevDurations

Wenjia 7 년 전
부모
커밋
a3c0a99067
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      mvcc/metrics.go

+ 0 - 12
mvcc/metrics.go

@@ -186,18 +186,6 @@ var (
 		// highest bucket start of 0.01 sec * 2^14 == 163.84 sec
 		// highest bucket start of 0.01 sec * 2^14 == 163.84 sec
 		Buckets: prometheus.ExponentialBuckets(.01, 2, 15),
 		Buckets: prometheus.ExponentialBuckets(.01, 2, 15),
 	})
 	})
-
-	hashRevDurations = prometheus.NewHistogram(prometheus.HistogramOpts{
-		Namespace: "etcd",
-		Subsystem: "mvcc",
-		Name:      "hash_rev_duration_seconds",
-		Help:      "The latency distribution of storage hash by revision operation.",
-
-		// 100 MB usually takes 100 ms, so start with 10 MB of 10 ms
-		// lowest bucket start of upper bound 0.01 sec (10 ms) with factor 2
-		// highest bucket start of 0.01 sec * 2^14 == 163.84 sec
-		Buckets: prometheus.ExponentialBuckets(.01, 2, 15),
-	})
 )
 )
 
 
 func init() {
 func init() {