Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
glebnaz committed Nov 13, 2023
1 parent 11b17d7 commit 7e98d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/grpc_mw_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ import (
func ClientMetricsUnaryInterceptor(from, to string) grpc.UnaryClientInterceptor {
var clientRequestCounter = MustRegisterCounterVec("client_grpc_request_count",
from,
"client_request_count", []string{"method", "code", from, to})
"client_request_count", []string{"method", "code", "from", "to"})

var clientResponseTime = MustRegisterHistogramVec("client_grpc_response_time",
from,
"client response time in seconds",
TimeBucketsMedium, []string{"method", from, to})
TimeBucketsMedium, []string{"method", "from", "to"})

return func(ctx context.Context,
method string,
Expand Down

0 comments on commit 7e98d61

Please sign in to comment.