grpc_stream_lb_srv

package
v0.0.0-...-c8bf5b5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client can connect to a server and send a batch of spans.

func (*Client) Connect

func (c *Client) Connect(server string) error

func (*Client) Export

func (c *Client) Export(batch core.ExportRequest)

func (*Client) Shutdown

func (c *Client) Shutdown()

type GrpcServer

type GrpcServer struct {
	experimental.UnimplementedStreamExporterServer
	// contains filtered or unexported fields
}

func (*GrpcServer) ExportTraces

type Server

type Server struct {
	StreamReopenPeriod       time.Duration
	StreamReopenRequestCount uint
	// contains filtered or unexported fields
}

func (*Server) Listen

func (srv *Server) Listen(
	endpoint string, onReceive func(batch core.ExportRequest, spanCount int),
) error

func (*Server) Stop

func (srv *Server) Stop()

Jump to

Keyboard shortcuts

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