Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/client-grpc-mw' into client-grpc-mw
Browse files Browse the repository at this point in the history
  • Loading branch information
glebnaz committed Nov 14, 2023
2 parents 883d2af + baf138c commit 944cf53
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 @@ -17,8 +17,8 @@ var metricsCollector = make(map[string]any)
// namespace here is a prefix for metrics name
//
// For every RPC it exports the following metrics:
// - client_grpc_request_count{method, code,from,to}
// - client_grpc_response_time{method,from,to}
// - client_grpc_request_count{method, code, from, to}
// - client_grpc_response_time{method, from, to}
// namespace here is a prefix for metrics name
func ClientMetricsUnaryInterceptor(from, to string) grpc.UnaryClientInterceptor {
const nameCounter = "client_grpc_request_count"
Expand Down

0 comments on commit 944cf53

Please sign in to comment.