Versions in this module Expand all Collapse all v0 v0.4.0 Mar 7, 2018 Changes in this version + var ClientErrorCount = stats.Int64("grpc.io/client/error_count", "RPC Errors", stats.UnitNone) + var ClientErrorCountView = &view.View + var ClientFinishedCount = stats.Int64("grpc.io/client/finished_count", "Number of client RPCs (streams) finished", ...) + var ClientRequestBytes = stats.Int64("grpc.io/client/request_bytes", "Request bytes", stats.UnitBytes) + var ClientRequestBytesView = &view.View + var ClientRequestCount = stats.Int64("grpc.io/client/request_count", "Number of client RPC request messages", ...) + var ClientRequestCountView = &view.View + var ClientResponseBytes = stats.Int64("grpc.io/client/response_bytes", "Response bytes", stats.UnitBytes) + var ClientResponseBytesView = &view.View + var ClientResponseCount = stats.Int64("grpc.io/client/response_count", "Number of client RPC response messages", ...) + var ClientResponseCountView = &view.View + var ClientRoundTripLatency = stats.Float64("grpc.io/client/roundtrip_latency", "RPC roundtrip latency in msecs", ...) + var ClientRoundTripLatencyView = &view.View + var ClientStartedCount = stats.Int64("grpc.io/client/started_count", "Number of client RPCs (streams) started", ...) + var DefaultBytesDistribution = view.DistributionAggregation([]float64{ ... }) + var DefaultClientViews = []*view.View + var DefaultMessageCountDistribution = view.DistributionAggregation([]float64{ ... }) + var DefaultMillisecondsDistribution = view.DistributionAggregation([]float64{ ... }) + var DefaultServerViews = []*view.View + var KeyMethod = tag.NewKey("method") + var KeyStatus = tag.NewKey("canonical_status") + var ServerErrorCount = stats.Int64("grpc.io/server/error_count", "RPC Errors", stats.UnitNone) + var ServerErrorCountView = &view.View + var ServerFinishedCount = stats.Int64("grpc.io/server/finished_count", "Number of server RPCs (streams) finished", ...) + var ServerRequestBytes = stats.Int64("grpc.io/server/request_bytes", "Request bytes", stats.UnitBytes) + var ServerRequestBytesView = &view.View + var ServerRequestCount = stats.Int64("grpc.io/server/request_count", "Number of server RPC request messages", ...) + var ServerRequestCountView = &view.View + var ServerResponseBytes = stats.Int64("grpc.io/server/response_bytes", "Response bytes", stats.UnitBytes) + var ServerResponseBytesView = &view.View + var ServerResponseCount = stats.Int64("grpc.io/server/response_count", "Number of server RPC response messages", ...) + var ServerResponseCountView = &view.View + var ServerServerElapsedTime = stats.Float64("grpc.io/server/server_elapsed_time", "Server elapsed time in msecs", ...) + var ServerServerElapsedTimeView = &view.View + var ServerStartedCount = stats.Int64("grpc.io/server/started_count", "Number of server RPCs (streams) started", ...) + type ClientHandler struct + NoStats bool + NoTrace bool + func (c *ClientHandler) HandleConn(ctx context.Context, cs stats.ConnStats) + func (c *ClientHandler) HandleRPC(ctx context.Context, rs stats.RPCStats) + func (c *ClientHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context + func (c *ClientHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context + type ServerHandler struct + NoStats bool + NoTrace bool + func (s *ServerHandler) HandleConn(ctx context.Context, cs stats.ConnStats) + func (s *ServerHandler) HandleRPC(ctx context.Context, rs stats.RPCStats) + func (s *ServerHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context + func (s *ServerHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context v0.3.0 Feb 12, 2018 Changes in this version + func NewClientStatsHandler() stats.Handler + func NewServerStatsHandler() stats.Handler