From 84c2b448b989273f1a5b4c71cf9d4d5b1976b03a Mon Sep 17 00:00:00 2001 From: Nikolay Bondarenko Date: Fri, 25 Jan 2019 18:06:08 +0300 Subject: [PATCH] Rename prometheus metric prefix from go_micro_x to micro_x --- prometheus.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus.go b/prometheus.go index 4d2d001..1336883 100644 --- a/prometheus.go +++ b/prometheus.go @@ -9,7 +9,7 @@ import ( func NewHandlerWrapper() server.HandlerWrapper { opsCounter := prometheus.NewCounterVec( prometheus.CounterOpts{ - Name: "go_micro_requests_total", + Name: "micro_requests_total", Help: "How many go-miro requests processed, partitioned by method and status", }, []string{"method", "status"}, @@ -17,7 +17,7 @@ func NewHandlerWrapper() server.HandlerWrapper { timeCounter := prometheus.NewSummaryVec( prometheus.SummaryOpts{ - Name: "go_micro_request_durations_microseconds", + Name: "micro_request_durations_microseconds", Help: "Service method request latencies in microseconds", }, []string{"method"},