Update prometheus.go
This commit is contained in:
parent
4b57717fc7
commit
39980dea2e
@ -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"},
|
||||||
|
Loading…
Reference in New Issue
Block a user