Update prometheus.go

This commit is contained in:
Asim Aslam 2019-01-25 16:12:34 +00:00 committed by Vasiliy Tolstov
parent 4b57717fc7
commit 39980dea2e

View File

@ -9,7 +9,7 @@ import (
func NewHandlerWrapper() server.HandlerWrapper { func NewHandlerWrapper() server.HandlerWrapper {
opsCounter := prometheus.NewCounterVec( opsCounter := prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "micro_requests_total", Name: "micro_request_total",
Help: "How many go-micro requests processed, partitioned by method and status", Help: "How many go-micro requests processed, partitioned by method and status",
}, },
[]string{"method", "status"}, []string{"method", "status"},