@@ -156,7 +156,7 @@ func (p *Prometheus) registerMetrics(sub string) {
}
switch metricDef {
case rpcCallCnt:
- p.CallCnt = metric.(prometheus.Gauge)
+ p.CallCnt = metric.(prometheus.Counter)
case rpcCallDur:
p.CallDur = metric.(*prometheus.HistogramVec)