Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGRPCServer ¶
func StartGRPCServer(params *GRPCServerParams) (*grpc.Server, error)
StartGRPCServer based on the given parameters
func StartHTTPServer ¶
func StartHTTPServer(params *HTTPServerParams) (*http.Server, error)
StartHTTPServer based on the given parameters
Types ¶
type GRPCServerParams ¶
type GRPCServerParams struct { configgrpc.ServerConfig Handler *handler.GRPCHandler SamplingProvider samplingstrategy.Provider Logger *zap.Logger OnError func(error) // Set by the server to indicate the actual host:port of the server. HostPortActual string }
GRPCServerParams to construct a new Jaeger Collector gRPC Server
type HTTPServerParams ¶
type HTTPServerParams struct { confighttp.ServerConfig Handler handler.JaegerBatchesHandler SamplingProvider samplingstrategy.Provider MetricsFactory metrics.Factory HealthCheck *healthcheck.HealthCheck Logger *zap.Logger }
HTTPServerParams to construct a new Jaeger Collector HTTP Server
Click to show internal directories.
Click to hide internal directories.