|
46 | 46 | TiKVSendReqHistogram *prometheus.HistogramVec
|
47 | 47 | TiKVSendReqSummary *prometheus.SummaryVec
|
48 | 48 | TiKVRPCNetLatencyHistogram *prometheus.HistogramVec
|
49 |
| - TiKVCoprocessorHistogram *prometheus.HistogramVec |
50 | 49 | TiKVLockResolverCounter *prometheus.CounterVec
|
51 | 50 | TiKVRegionErrorCounter *prometheus.CounterVec
|
52 | 51 | TiKVRPCErrorCounter *prometheus.CounterVec
|
@@ -195,16 +194,6 @@ func initMetrics(namespace, subsystem string, constLabels prometheus.Labels) {
|
195 | 194 | ConstLabels: constLabels,
|
196 | 195 | }, []string{LblStore, LblScope})
|
197 | 196 |
|
198 |
| - TiKVCoprocessorHistogram = prometheus.NewHistogramVec( |
199 |
| - prometheus.HistogramOpts{ |
200 |
| - Namespace: namespace, |
201 |
| - Subsystem: subsystem, |
202 |
| - Name: "cop_duration_seconds", |
203 |
| - Help: "Run duration of a single coprocessor task, includes backoff time.", |
204 |
| - Buckets: prometheus.ExponentialBuckets(0.0005, 2, 29), // 0.5ms ~ 1.5days |
205 |
| - ConstLabels: constLabels, |
206 |
| - }, []string{LblStore, LblStaleRead, LblScope}) |
207 |
| - |
208 | 197 | TiKVLockResolverCounter = prometheus.NewCounterVec(
|
209 | 198 | prometheus.CounterOpts{
|
210 | 199 | Namespace: namespace,
|
@@ -884,7 +873,6 @@ func RegisterMetrics() {
|
884 | 873 | prometheus.MustRegister(TiKVSendReqHistogram)
|
885 | 874 | prometheus.MustRegister(TiKVSendReqSummary)
|
886 | 875 | prometheus.MustRegister(TiKVRPCNetLatencyHistogram)
|
887 |
| - prometheus.MustRegister(TiKVCoprocessorHistogram) |
888 | 876 | prometheus.MustRegister(TiKVLockResolverCounter)
|
889 | 877 | prometheus.MustRegister(TiKVRegionErrorCounter)
|
890 | 878 | prometheus.MustRegister(TiKVRPCErrorCounter)
|
|
0 commit comments