statshandlerx

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClientGRPCStatsHandler

func WithClientGRPCStatsHandler() grpc.DialOption

WithClientGRPCStatsHandler sets up the gRPC stats handler for the client with metrics and tracing support

func WithServerGRPCStatsHandler

func WithServerGRPCStatsHandler() grpc.ServerOption

WithServerGRPCStatsHandler sets up the gRPC stats handler for the server with metrics and tracing support.

Types

type ClientHandler

type ClientHandler struct {
	// contains filtered or unexported fields
}

func (*ClientHandler) HandleConn

func (h *ClientHandler) HandleConn(ctx context.Context, cs stats.ConnStats)

func (*ClientHandler) HandleRPC

func (h *ClientHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)

func (*ClientHandler) TagConn

func (*ClientHandler) TagRPC

type ServerHandler

type ServerHandler struct {
	// contains filtered or unexported fields
}

func (*ServerHandler) HandleConn

func (h *ServerHandler) HandleConn(ctx context.Context, cs stats.ConnStats)

func (*ServerHandler) HandleRPC

func (h *ServerHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)

func (*ServerHandler) TagConn

func (*ServerHandler) TagRPC

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL