Skip to content

Commit

Permalink
fix metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
zhs committed Jan 22, 2019
1 parent 0817e43 commit 35c0cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"go.uber.org/zap/zapcore"

"github.com/pingcap/tidb/metrics"
sdk_metrics "github.com/pingcap/tidb/metrics"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down Expand Up @@ -179,7 +179,7 @@ func init() {
[]string{labelName},
)
prometheus.MustRegister(gm.LogMetricsCounterVec)
metrics.RegisterMetrics()
sdk_metrics.RegisterMetrics()
}

// GetMetrics return metrics object
Expand Down

0 comments on commit 35c0cb8

Please sign in to comment.