Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
func (Client) GRPCOptions ¶
func (Client) GRPCOptions(options ...grpc.DialOption) func(*config.Client)
GRPCOptions adds gRPC dial options to the client.
type Platform ¶
type Platform struct{}
func (Platform) ClientOptions ¶
ClientOptions sets default options for all new clients. Local client options can override these global settings.
func (Platform) OpenTelemetry ¶
func (Platform) OpenTelemetry(serviceName string, sampleRate float64, exporters ...trace.SpanExporter) func(*config.Platform)
OpenTelemetry configures OpenTelemetry tracing for clients and servers.
type Server ¶
type Server struct{}
func (Server) Attributes ¶
func (Server) Attributes(attributes *attributes.Attributes) func(*config.Server)
Attributes sets server attributes that are applied by the server and accessible via the Lookup method.
func (Server) GRPCOptions ¶
func (Server) GRPCOptions(options ...grpc.ServerOption) func(*config.Server)
GRPCOptions adds gRPC server options to the server.
Click to show internal directories.
Click to hide internal directories.