Documentation
¶
Overview ¶
Package grpcstats provides shims for writing rpc logger events to a stats collector.
Index ¶
Constants ¶
View Source
const ( TagRPCMethod string = "rpc_method" TagRPCPeer string = "rpc_peer" TagRPCEngine string = "rpc_peer" TagRPCAuthority string = "rpc_authority" RPCMethodUnknown string = "unknown" MetricNameRPC string = string(grpcutil.FlagRPC) MetricNameRPCElapsed string = MetricNameRPC + ".elapsed" )
Tag constants
Variables ¶
This section is empty.
Functions ¶
func AddListeners ¶
func AddListeners(log logger.Listenable, collector stats.Collector)
AddListeners adds grpc listeners.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.